diff options
author | Szabolcs Nagy <nsz@port70.net> | 2012-12-11 23:56:59 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2012-12-11 23:56:59 +0100 |
commit | b12a73d5bf595b7fbb73db30c6bb144078e86ef5 (patch) | |
tree | 547edc4ee13453230bb1c154015150b9fc88c766 /src/math/fmodl.c | |
parent | 482ccd2f7497a79ca83e998f54e823e7cedaaa6e (diff) | |
download | musl-b12a73d5bf595b7fbb73db30c6bb144078e86ef5.tar.gz musl-b12a73d5bf595b7fbb73db30c6bb144078e86ef5.tar.bz2 musl-b12a73d5bf595b7fbb73db30c6bb144078e86ef5.tar.xz musl-b12a73d5bf595b7fbb73db30c6bb144078e86ef5.zip |
math: clean up inverse trigonometric functions
modifications:
* avoid unsigned->signed conversions
* removed various volatile hacks
* use FORCE_EVAL when evaluating only for side-effects
* factor out R() rational approximation instead of manual inline
* __invtrigl.h now only provides __invtrigl_R, __pio2_hi and __pio2_lo
* use 2*pio2_hi, 2*pio2_lo instead of pi_hi, pi_lo
otherwise the logic is not changed, long double versions will
need a revisit when a genaral long double cleanup happens
Diffstat (limited to 'src/math/fmodl.c')
0 files changed, 0 insertions, 0 deletions