about summary refs log tree commit diff
path: root/src/math/i386/asin.s
Commit message (Collapse)AuthorAgeFilesLines
* math: fix x86 asin, atan, exp, log1p to raise underflowSzabolcs Nagy2013-08-151-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
* math: fix x86 asin accuracynsz2012-04-041-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
* asm for inverse trig functionsRich Felker2012-03-191-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.