• S
    math: clean up __rem_pio2 · 3fdf94ec
    Szabolcs Nagy 提交于
    - 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
    3fdf94ec
__rem_pio2f.c 1.8 KB