1. 16 3月, 2012 1 次提交
  2. 15 3月, 2012 3 次提交
    • R
      implement sincosf and sincosl functions; add prototypes · 5657cc58
      Rich Felker 提交于
      presumably broken gcc may generate calls to these, and it's said that
      ffmpeg makes use of sincosf.
      5657cc58
    • R
    • R
      correctly rounded sqrt() asm for x86 (i387) · 809556e6
      Rich Felker 提交于
      the fsqrt opcode is correctly rounded, but only in the fpu's selected
      precision mode, which is 80-bit extended precision. to get a correctly
      rounded double precision output, we check for the only corner cases
      where two-step rounding could give different results than one-step
      (extended-precision mantissa ending in 0x400) and adjust the mantissa
      slightly in the opposite direction of the rounding which the fpu
      already did (reported in the c1 flag of the fpu status word).
      
      this should have near-zero cost in the non-corner cases and at worst
      very low cost.
      
      note that in order for sqrt() to get used when compiling with gcc, the
      broken, non-conformant builtin sqrt must be disabled.
      809556e6
  3. 14 3月, 2012 2 次提交
  4. 13 3月, 2012 2 次提交
    • R
      implement nan, nanf, nanl · bf9d9dca
      Rich Felker 提交于
      bf9d9dca
    • R
      first commit of the new libm! · b69f695a
      Rich Felker 提交于
      thanks to the hard work of Szabolcs Nagy (nsz), identifying the best
      (from correctness and license standpoint) implementations from freebsd
      and openbsd and cleaning them up! musl should now fully support c99
      float and long double math functions, and has near-complete complex
      math support. tgmath should also work (fully on gcc-compatible
      compilers, and mostly on any c99 compiler).
      
      based largely on commit 0376d44a890fea261506f1fc63833e7a686dca19 from
      nsz's libm git repo, with some additions (dummy versions of a few
      missing long double complex functions, etc.) by me.
      
      various cleanups still need to be made, including re-adding (if
      they're correct) some asm functions that were dropped.
      b69f695a
  5. 09 3月, 2012 1 次提交
    • R
      add .gitignore file · d46cf2e1
      Rich Felker 提交于
      I've had this around for a long time but somehow it never got
      committed.
      d46cf2e1
  6. 03 3月, 2012 3 次提交
  7. 02 3月, 2012 7 次提交
  8. 01 3月, 2012 4 次提交
  9. 29 2月, 2012 2 次提交
  10. 28 2月, 2012 3 次提交
  11. 25 2月, 2012 4 次提交
  12. 24 2月, 2012 3 次提交
  13. 18 2月, 2012 4 次提交
  14. 16 2月, 2012 1 次提交