summaryrefslogtreecommitdiff
path: root/src/math/i386/asin.s
AgeCommit message (Collapse)AuthorFilesLines
2013-08-15math: fix x86 asin, atan, exp, log1p to raise underflowSzabolcs Nagy1-1/+22
underflow is raised by an inexact subnormal float store, since subnormal operations are slow, check the underflow flag and skip the store if it's already raised
2012-04-04math: fix x86 asin accuracynsz1-2/+3
use (1-x)*(1+x) instead of (1-x*x) in asin.s the later can be inaccurate with upward rounding when x is close to 1
2012-03-19asm for inverse trig functionsRich Felker1-0/+23
unlike trig functions, these are easy to do in asm because they do not involve (arbitrary-precision) argument reduction. fpatan automatically takes care of domain issues, and in asin and acos, fsqrt takes care of them for us.