Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- I think in this case is mandatory to use floating point, I need iterative divisions, divisions will bring up fractional numbers of different sizes, example. 2.9 - 2.1899, it is necessary to align exponents before make any operations, thus is necessary exponents to vary according to the input size difference, and this is exactly what floating point is about. --- Quote End --- In that case - stick with the altera floating point IP cores rather than trying to write your own floating point arithmatic. This is of course, if there is no chance you can redesign the algorhith to fit with an FPGA. If you want lots of floating point (and especially division - which is particularly expensive in FPGA) why not use a DSP?