summaryrefslogtreecommitdiff
path: root/lib/libm
AgeCommit message (Collapse)Author
2014-03-03Drop in a fabs() after the fsqrt().dsl
While it may seem pointless, it the rouding mode is set to round towards minus infinity then acos(-1) calculates atan2(sqrt(1.0 - 1.0), -1) the subtract generates -0.0 which sqrt() preserves. atan2(-0, -1) is -pi, but acos(-1) is expected to be +pi. This might 'fix' the test failures seen in some environments, but they are not failing due to an obvously incorrent x87 rounding mode.
2014-02-26Update compiler-rt glue for the new source layout.joerg
2014-02-03Provide scalbnl, scalbnf, logbl, logbf, fmaxl for vax.martin
2014-02-03For ancient GCC, disable the missing prototype warning completely.joerg
2014-01-31Restore -Wno-error for clang build. Just don't try to force GCC 4.1 forjoerg
clang, okay?
2014-01-31Just use EXT_EXP_INFNAN instead of EXT_EXP_INF or EXT_EXP_NAN.matt
2014-01-31-Wno-error=missing-prototypes is not available on gcc 4.1martin
2014-01-29Include compiler-rt in libc, libm and libkern.joerg
2014-01-18Add various functions which need fenv support to arm.skrll
2013-11-29Use normal style for checking for long double support. Add missingjoerg
aliases for fminl and fmaxl, fabsl is here just for symmetry.
2013-11-24Provide expm1f()martin
2013-11-24Provide erff() and erfcf().martin
2013-11-24Provide cbrtl() and cbrtf() for vaxmartin
2013-11-24Provide cbrtf() and cbrtl()martin
2013-11-24Provide powl()martin
2013-11-24Provide (very stupid) versions of atanf(), asinf() and acosf()martin
2013-11-22For the non-fenv archs: just use double - puntmartin
2013-11-22Try to fix the build (again): move e_sqrtl.c to common soure, butmartin
move the include of fenv.h into the #ifdef __HAVE_LONG_DOUBLE block and also provide a -DHAVE_FENV_H from the makefile for archs that have it - leaving out exception settings on architectures that do not provide it.
2013-11-22Fix stupid bug in previous (fixing fmodf)martin
2013-11-21Fix copy & pasto (make temp variable long double).martin
Fixes fmodl() test failure on sparc64
2013-11-21e_sqrtl.c requires fenv.h, so only build it on platfomrs supporting thatmartin
2013-11-21Add fmodf and fmodlmartin
2013-11-20Make it compile on archs with implicit NBITmartin
2013-11-20Fix operand order.joerg
2013-11-20Long double conditional.joerg
2013-11-19Add cbrtl(3) and sqrtl(3), from FreeBSD.joerg
2013-11-19Report correct exception for fmodl.joerg
2013-11-19Alias to fmod for platforms with double == long doublejoerg
2013-11-14Make it compile on archs with implicit NBITmartin
2013-11-13Add missing comma.wiz
2013-11-13truncl(3)joerg
2013-11-13Add FreeBSD's truncl and minimal testing.joerg
2013-11-13Add missing __HAVE_LONG_DOUBLE protection.joerg
2013-11-12Typo.joerg
2013-11-12Add some fake long double -> double wrappers for various transcendentaljoerg
functions. They are expected to be implement properly at a later time.
2013-11-12Initial version of fmodl from FreeBSD.joerg
Basic test case for the fmod family.
2013-11-12Man page entries for ceill, floorl and roundl.joerg
2013-11-11Add initial version of ceill, floorl and roundl from FreeBSD.joerg
2013-11-11Preserve the initial x87 control word in the global FP environmentjoerg
in preparation for adjusting the default based on the main binary version.
2013-11-09fix unused variable warningschristos
2013-11-06simplify.christos
2013-10-18use the masked variablechristos
2013-10-15Hook complex operation support into libm when not using libgcc.joerg
2013-09-21Update LLVM/Clang snapshot to r191105. This brings in a better detectionjoerg
of unused static variables and functions. Disable this for some external code and for ioconf.c in the kernel.
2013-09-12Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is smalljoerg
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-08-22s_nexttoward.c does not make sense compiling for 32 bit sparc (double ==martin
long double), so ifdef it out in the sparc64 compat library build. I hope the nextafter alias is set up correctly (where?) - and someone please suggest a better way for this if clause.
2013-08-21Add nexttoward, nearbyint and rintl for sparc64martin
2013-08-21Add support for the long double format used on sparc64martin
2013-08-21Add support for archs with LDBL_IMPLICIT_NBITmartin
2013-07-18If __HAVE_LONG_DOUBLE is not defined,matt
add a strong alias for nextafterl to nextafter