Forum Discussion
Altera_Forum
Honored Contributor
11 years agosqrtf custom instruction gives sometimes absolutely wrong results
I use Quartus 13.1.0.182 web edition with a Cyclone III FPGA The project is compiled with the Floating point custom instruction 2.0 from Qsys. My code calculates the square root and some time...
Altera_Forum
Honored Contributor
11 years agoNeither of those expressions will help the bug, just give extra precision.
And I should also have suggested: sqrt((0.5+sin+0.5)*(0.5-sin-0.5)).