math: fix x86 asin, atan, exp, log1p to raise underflow
authorSzabolcs Nagy <nsz@port70.net>
Thu, 15 Aug 2013 10:56:57 +0000 (10:56 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Thu, 15 Aug 2013 10:56:57 +0000 (10:56 +0000)
commit31c5fb80b9eae86f801be4f46025bc6532a554c5
treec5d0912699727ebd96bb5194334ee4dd33dc9c5b
parent1b3973fb43fbef80dab1dfc9c788783e78ab5043
math: fix x86 asin, atan, exp, log1p to raise underflow

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
src/math/i386/asin.s
src/math/i386/atan.s
src/math/i386/atanf.s
src/math/i386/exp.s
src/math/i386/log1p.s
src/math/i386/log1pf.s