about summary refs log tree commit diff
path: root/src/linux
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-11-24 01:06:38 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-11-24 01:06:38 +0000
commit3fdf94ec5101fab63d0e8196d3e557641a0e19e2 (patch)
treea8684dad2f216505e97263187b768013648146d0 /src/linux
parent10c8b7148b918938d8e681c5801b913dd56cb7e4 (diff)
downloadmusl-3fdf94ec5101fab63d0e8196d3e557641a0e19e2.tar.gz
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 'src/linux')
0 files changed, 0 insertions, 0 deletions