source: to-imperative/trunk/samples/Arithm/rem.rf @ 1050

Last change on this file since 1050 was 1050, checked in by luba, 18 years ago
  • tests for long arithmetic
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 455 bytes
Line 
1$use Arithm StdIO;
2
3Main =
4  { 
5    <PrintLN <Rem -23 -11>>,
6    <PrintLN <Rem -2147483647 -2147483647>>,
7    <PrintLN <Rem 2147483647 -2147483647>>,
8    <PrintLN <Rem -2147483647 2147483647>>,
9    <PrintLN <Rem 2147483647 2147483647>>,
10
11    <PrintLN <Rem 2147483648 2>>,
12    <PrintLN <Rem 2147483648 2222222>>,
13    <PrintLN <Rem 22345 -2147483648>>,
14    <PrintLN <Rem -2147483649 2147483648>>,
15    <PrintLN <Rem -21474836481234567890786543 -2>>;
16
17  };
18
Note: See TracBrowser for help on using the repository browser.