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/mult.rf

    r593 r1050  
    33Main =
    44  {
    5     <PrintLN <"*" 22 -2>>;
     5    <PrintLN <"*" 22 -2>>,
     6    <PrintLN <"*" 2147483647 1>>,
     7    <PrintLN <"*" 2147483647 -1>>,
     8    <PrintLN <"*" -2147483647 1>>,
     9    <PrintLN <"*" -2147483647 -1>>,
     10
     11    <PrintLN <"*" 2147483648 10>>,
     12    <PrintLN <"*" 2147483648 -11>>,
     13    <PrintLN <"*" -10 2147483648>>,
     14    <PrintLN <"*" -11 -2147483648>>,
     15
     16    <PrintLN <"*" 614189 47349>>,
     17    <PrintLN <"*" -456889  -23491>>,
     18    <PrintLN <"*" -582598 59873>>,
     19    <PrintLN <"*" -998998 -6984899>>,
     20
     21    <PrintLN <"*" 2147483648 2147483648>>,
     22    <PrintLN <"*" 2147483648 -2147483648>>,
     23    <PrintLN <"*" -2147483648 2147483648>>,
     24    <PrintLN <"*" -2147483648 -2147483648>>;
     25
    626  };
    727
Note: See TracChangeset for help on using the changeset viewer.