project-rig / rig

A collection of tools for developing SpiNNaker applications.
GNU General Public License v2.0
4 stars 0 forks source link

Having a fixed-point format that can't represent a full range of valu… #240

Closed neworderofjamie closed 8 years ago

neworderofjamie commented 8 years ago

I think it's entirely legitimate to define a fixed point format where the position of the fixed point is not within your representable range small weights

mundya commented 8 years ago

Sure, can you fix the tests?

mundya commented 8 years ago

On reflection this may be a good opportunity to fix some of the annoyances of the way float_to_fix and fix_to_float are implemented. I'm playing with that now.