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 agothe input is an integer, which will always be binary. But in fixed point, the integer and fractional parts are just normal integers offset by 2^n. Have a read up on fixed point number formats.
Are you sure you want to use flooating point?