diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-11-24 01:06:38 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-11-24 01:06:38 +0000 |
commit | 3fdf94ec5101fab63d0e8196d3e557641a0e19e2 (patch) | |
tree | a8684dad2f216505e97263187b768013648146d0 /include/netinet | |
parent | 10c8b7148b918938d8e681c5801b913dd56cb7e4 (diff) | |
download | musl-3fdf94ec5101fab63d0e8196d3e557641a0e19e2.tar.gz musl-3fdf94ec5101fab63d0e8196d3e557641a0e19e2.tar.bz2 musl-3fdf94ec5101fab63d0e8196d3e557641a0e19e2.tar.xz musl-3fdf94ec5101fab63d0e8196d3e557641a0e19e2.zip |
math: clean up __rem_pio2
- remove the HAVE_EFFICIENT_IRINT case: fn is an exact integer, so
it can be converted to int32_t a bit more efficiently than with a
cast (the rounding mode change can be avoided), but musl does not
support this case on any arch.
- __rem_pio2: use double_t where possible
- __rem_pio2f: use less assignments to avoid stores on i386
- use unsigned int bit manipulation (and union instead of macros)
- use hexfloat literals instead of named constants
Diffstat (limited to 'include/netinet')
0 files changed, 0 insertions, 0 deletions