diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-03-18 23:17:28 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-03-18 23:17:28 -0400 |
commit | aa1b4dff45788f8205e32ea01da243fe09568aa8 (patch) | |
tree | 2fb4aa7cf4e3b9ead26ac895d4a22794144f59dd /src/math/expm1.c | |
parent | 37eb14dd2b92c51404fa54f56b6dfcd487ab5cbb (diff) | |
download | musl-aa1b4dff45788f8205e32ea01da243fe09568aa8.tar.gz musl-aa1b4dff45788f8205e32ea01da243fe09568aa8.tar.xz musl-aa1b4dff45788f8205e32ea01da243fe09568aa8.zip |
fix broken exponential asm
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.
Diffstat (limited to 'src/math/expm1.c')
0 files changed, 0 insertions, 0 deletions