Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFP Custom Instructions - exp() won't get any faster
Hi everybody. I'm working on a design using Nios II/f that heavily relies on floating point math. In Qsys I addedd Floating Point Hardware and I connected it to the Custom Instruction Master of ...
Altera_Forum
Honored Contributor
13 years agoI suspect that exp() is using double, not float. Try expf() instead.
You'll need to make sure the library code is built with the correct compiler options.