Last change
on this file since 2453 was 381, checked in by bird, 22 years ago |
div() testcase from Platon.
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
143 bytes
|
Rev | Line | |
---|
[381] | 1 | #include <stdlib.h>
|
---|
| 2 |
|
---|
| 3 | int main()
|
---|
| 4 | {
|
---|
| 5 | div_t lv = {0,0};
|
---|
| 6 | lv = div(6,2);
|
---|
| 7 | printf(" 6/2 -> q=%d r=%d\n", lv.quot, lv.rem);
|
---|
| 8 | return 0;
|
---|
| 9 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.