source: to-imperative/trunk/samples/Arithm/div.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: 465 bytes
Line 
1$use Arithm StdIO;
2
3Main =
4  { 
5    <PrintLN <Div -22 11>>,
6    <PrintLN <Div -2147483647 -2147483647>>,
7    <PrintLN <Div 2147483647 -2147483647>>,
8    <PrintLN <Div -2147483647 2147483647>>,
9    <PrintLN <Div 2147483647 2147483647>>,
10
11    <PrintLN <Div 2147483648 2>>,
12    <PrintLN <Div 2147483648 2222222>>,
13    <PrintLN <Div 22345 -2147483648>>,
14    <PrintLN <Div -2147483649 2147483648>>,
15    <PrintLN <Div -2147483648123456789078654321 -2147483648>>;
16
17  };
18
Note: See TracBrowser for help on using the repository browser.