Forum Discussion
Altera_Forum
Honored Contributor
11 years agoLooks that way, probably failing to increment the exponent when the mantissa is rounded up.
FWIW you'll probably get better precision from calculating one of sqrt((1+sin)*(1-sin)) or sqrt(0.5 - sin*sin + 0.5).