Forum Discussion
Altera_Forum
Honored Contributor
12 years agoFloating point formats usually use a separate bit for the sign (so you have separate encodings for +0 and -0).
You might be much better off using 'fixed point' arithmetic - where you multiply the FP numbers by a constant and then process the integer part (using 2's compliment integer arithmetic).