summaryrefslogtreecommitdiff
path: root/src/math/i386/expm1.s
AgeCommit message (Collapse)AuthorLines
2012-03-19optimize exponential asm for i386Rich Felker-47/+1
up to 30% faster exp2 by avoiding slow frndint and fscale functions. expm1 also takes a much more direct path for small arguments (the expected usage case).
2012-03-18fix broken exponential asmRich Felker-1/+12
infinities were getting converted into nans. the new code simply tests for infinity and replaces it with a large magnitude value of the same sign. also, the fcomi instruction is apparently not part of the i387 instruction set, so avoid using it.
2012-03-18asm exponential functions for i386Rich Felker-0/+36