Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21613 Discussions

time complexity of float multiplication

Altera_Forum
Honored Contributor II
1,296 Views

Can someone provide some documentation for the complexity ("big O") of the float multiplication using floating point megafunctions?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
628 Views

Without knowing anything about the megafunctuions... 

I'd guess that multiply is fixed cost, only underflow and overflow generate special cases. 

Addition/subtraction needs to shift one of the numbers (by the difference in exponents) - so could depend on that value. 

Division is hard and slow.
0 Kudos
Reply