Commit Graph

1 Commits

Author SHA1 Message Date
Julien Fischer
babe9f2fbf Add more operations on signed 32-bit integers.
library/int32.m:
    Add num_zeros/1, num_ones/1, num_leading_zeros/1, num_trailing_zeros/1
    and reverse_bits/1.

library/uint32.m:
    Fix spelling.

tests/hard_coded/Mmakefile:
tests/hard_coded/bit_twiddle_int32.{m,exp}:
    Add tests of the above operations.
2018-03-31 00:19:58 +11:00