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

Legend:

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

    r593 r1050  
    33Main =
    44  {
    5     <PrintLN <"-" 3 3>>,
    65    <PrintLN <"-" 2 10>>,
    7     <PrintLN <"-" 14 7>>;
     6    <PrintLN <"-" 2147483647 -2147483647>>,
     7    <PrintLN <"-" 2147483647 2147483647>>,
     8    <PrintLN <"-" -2147483647 2147483647>>,
     9    <PrintLN <"-" -2147483647 -2147483647>>,
     10    <PrintLN <"-" 2147483647 1>>,
     11    <PrintLN <"-" 2147483647 -1>>,
     12    <PrintLN <"-" -2147483647 1>>,
     13    <PrintLN <"-" -2147483647 -1>>,
     14
     15    <PrintLN <"-" -21474836476 -1>>,
     16    <PrintLN <"-" 32 -21474836476>>,
     17    <PrintLN <"-" 21474836476 11>>,
     18    <PrintLN <"-" 21474836476 -11>>,
     19   
     20    <PrintLN <"-" 21474836471 -21474836471>>,
     21    <PrintLN <"-" 2147483647789364567 21474836471>>,
     22    <PrintLN <"-" -2147483647789364567 21474836471>>,
     23    <PrintLN <"-" -21474836471 -2147483647789364567>>;
     24         
    825  };
    926
Note: See TracChangeset for help on using the changeset viewer.