Sfix weird range
postoroniy opened this issue · 2 comments
postoroniy commented
https://spinalhdl.github.io/SpinalDoc/spinal/core/types/Fix#signed-fixed-point
resolution as 2^resolution
max as 2^peak-2^resolution
min as 0 <- WHY?
Dolu1990 commented
Hoo that's a mistake, copy pasted from UFix, should be -2^peak
Dolu1990 commented
Fixed, sorry for the delay :/