Files
mercury/tests/hard_coded/int32_from_bytes.exp
Julien Fischer 95ce71d683 Add conversion functions from bytes (uint8s) to 32-bit integers.
library/int32.m:
library/uint32.m:
     As above.

tests/hard_coded/Mmakefile:
tests/hard_coded/int32_from_bytes.{m,exp}:
tests/hard_coded/uint32_from_bytes.{m,exp}:
     Test the new functions.
2017-11-01 00:52:16 -04:00

9 lines
82 B
Plaintext

-16777216i32
16711680i32
65280i32
255i32
255i32
65280i32
16711680i32
-16777216i32