Closed libcg closed 5 years ago
It would be nice to be able to convert a {nbits=32, es=2} posit to {nbits=5, es=1}, for example.
Changing nbits should be trivial since it only requires bit shifting. Haven't considered es yet.
This is possible since commit a394dbe4, using pack/unpack.
It would be nice to be able to convert a {nbits=32, es=2} posit to {nbits=5, es=1}, for example.