Julien Fischer
|
ee76350044
|
Add more operations on 16-bit integers.
library/int16.m:
library/uint16.m:
Add num_zeros/1, num_ones/1, num_leading_zeros/1, num_trailing_zeros/1
and reverse_bits/1.
tests/hard_coded/Mmakefile:
tests/hard_coded/bit_twiddle_uint16.{m,exp}:
tests/hard_coded/bit_twiddle_int16.{m,exp}:
Add tests of the above.
|
2018-03-31 22:29:25 +11:00 |
|