Ignore:
Timestamp:
Jul 24, 2003, 4:42:16 PM (18 years ago)
Author:
luba
Message:
  • tests for GCD and Div-Rem functions
File:
1 edited

Legend:

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

    r593 r1056  
    33Main =
    44  {
    5     <PrintLN <GCD 22 2>>;
     5    <PrintLN <GCD 22 2>>,
     6    <PrintLN <GCD 2147483648 135>>,
     7    <PrintLN <GCD 2147483648 -1146>>,
     8    <PrintLN <GCD -1245 2147483648>>,
     9    <PrintLN <GCD -1156 -2147483648>>,
     10    <PrintLN <GCD -1156548745 -2147483648>>,
     11    <PrintLN <GCD -1156548745234678 214748364809876>>,
     12    <PrintLN <GCD 2147483647 -2147483647>>,
     13    <PrintLN <GCD -2147483648 2147483648>>,
     14    <PrintLN <GCD 2147483648 2147483648>>;
     15
    616  };
    717
Note: See TracChangeset for help on using the changeset viewer.