Forum Discussion
Altera_Forum
Honored Contributor
14 years agodecimal fraction
Hi, How can I convert the decimal fraction to the mantissa format (IEEE). The MegaWizard function demands the decimal number in binary form (3 = 0011, for example). So how can I convert 0.3 to man...
Altera_Forum
Honored Contributor
14 years agoI suggest you read up on fixed point arithmatic
http://en.wikipedia.org/wiki/fixed-point_arithmetic All integers are in 2s compliment - there is no decimal representation in any electronics.