diff options
| author | Szabolcs Nagy <nsz@port70.net> | 2013-01-07 23:54:13 +0100 |
|---|---|---|
| committer | Szabolcs Nagy <nsz@port70.net> | 2013-01-07 23:54:13 +0100 |
| commit | 121e3a38a1d0b324696fc1671029e4b815ea7fa4 (patch) | |
| tree | 608923bcb097799f051cb509af138d8a49239cc5 /arch/mips/bits/fcntl.h | |
| parent | setjmp.h: add struct tag for sigjmp_buf (GCC C++ compatibility) (diff) | |
| download | grovel-121e3a38a1d0b324696fc1671029e4b815ea7fa4.tar.gz grovel-121e3a38a1d0b324696fc1671029e4b815ea7fa4.tar.xz | |
math: erf and erfc cleanup
common part of erf and erfc was put in a separate function which
saved some space and the new code is using unsigned arithmetics
erfcf had a bug: for some inputs in [7.95,8] the result had
more than 60ulp error: in expf(-z*z - 0.5625f) the argument
must be exact but not enough lowbits of z were zeroed,
-SET_FLOAT_WORD(z, ix&0xfffff000);
+SET_FLOAT_WORD(z, ix&0xffffe000);
fixed the issue
Diffstat (limited to 'arch/mips/bits/fcntl.h')
0 files changed, 0 insertions, 0 deletions
