Commit Graph

3 Commits

Author SHA1 Message Date
Julien Fischer
c0524841a2 More documentation of expected outputs.
Fix a test failure in spf grades.

tests/hard_coded/backend_external.m:
tests/hard_coded/from_int_uint32.m:
tests/hard_coded/parse_number_from_io.m:
tests/hard_coded/remove_file.m:
tests/hard_coded/uint_arith.m:
    As above.

tests/hard_coded/parse_number_from_io.exp4:
    Alternative expected output for spf grades.
2018-09-06 13:45:50 +10:00
Julien Fischer
6330b51b61 Implement checked division for uints.
library/uint.m:
     Add (//)/2, (/)/2 and rem/2 for uints.

     Add mod/2 and div/2 as synonyms for the above.

tests/hard_coded/uint_arith.m
     Enable the division tests.

tests/hard_coded/uint_bitwise.exp*:
     Update the expected outputs.
2017-05-12 21:59:36 +10:00
Julien Fischer
0a7cf0f261 Add a test of basic arithmetic on uints.
tests/hard_coded/Mmakefile:
tests/hard_coded/uint_arith.m:
tests/hard_coded/uint_arith.exp*:
     As above.  (The .exp file is for 64-bit machines; the .exp2 for
     32-bit.)
2017-04-26 16:29:55 +10:00