Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFloating point division
Hi, does anyone has a code for floating point division? i tried using the megafunction tool for division but it keeps giving me error when i run simulation.
Altera_Forum
Honored Contributor
13 years agoYou could try using integers.
Multiply the FP numbers by a scalar to convert it to a integer, divide the integers, then convert back to FP or divide down to get just the integer result of the multiplication.