Ignore:
Timestamp:
Jul 24, 2003, 11:19:29 AM (17 years ago)
Author:
luba
Message:
  • tests for long arithmetic
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/samples/Arithm/rem.rf

    r593 r1050  
    22
    33Main =
    4   {
    5     <PrintLN <Rem 3 2>>;
     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
    617  };
    718
Note: See TracChangeset for help on using the changeset viewer.