Commit Graph

2 Commits

Author SHA1 Message Date
Julien Fischer
7bffc574e9 Fix a bug in uint64.cast_from_uint/1.
Add a test of uint -> uint64 conversion.

library/uint64.m:
    Fix a typo that broke uint64.cast_from_uint/1.

tests/hard_coded/Mmakefile:
tests/hard_coded/from_uint_uint64.{m,exp,exp2}:
    Add a test of uint -> uint64 conversion.

tests/hard_coded/from_int_int*.m:
tests/hard_coded/from_uint_uint*.m:
    Fix errors in comments.
2021-07-10 04:44:51 +10:00
Julien Fischer
307b74467f Add tests of conversion from int -> 8 and 16 bit integers.
tests/hard_coded/from_int_int{8,16}.{m,exp}:
tests/hard_coded/from_int_uint{8,16}.{m,exp}:
    As above.

tests/hard_coded/Mmakefile:
    Add the new tests.
2017-09-08 04:04:01 -04:00