freebsd-skq/lib/msun/src
David Chisnall 8f62d384b9 Allow inclusion of libc++ <cmath> to work after including math.h
Submitted by:	Yamaya Takashi
Reviewed by:	das
MFC after:	1 week
2012-05-27 12:54:41 +00:00
..
e_acos.c Add implementations of acosl(), asinl(), atanl(), atan2l(), 2008-07-31 22:41:26 +00:00
e_acosf.c Minor improvements: 2008-08-03 17:39:54 +00:00
e_acosh.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_acoshf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_acosl.c On i386, gcc truncates long double constants to double precision 2008-08-02 03:56:22 +00:00
e_asin.c For small arguments, these functions use simple approximations, 2011-02-10 07:37:50 +00:00
e_asinf.c Remove some unused variables. 2008-08-08 00:21:27 +00:00
e_asinl.c Fix some style bogosity from fdlibm. 2008-08-03 17:49:05 +00:00
e_atan2.c A few minor corrections, including some from bde: 2008-08-02 19:17:00 +00:00
e_atan2f.c Minor improvements: 2008-08-03 17:39:54 +00:00
e_atan2l.c A few minor corrections, including some from bde: 2008-08-02 19:17:00 +00:00
e_atanh.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_atanhf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_cosh.c Use __ldexp_exp() to simplify things and improve accuracy for x near 2011-10-21 06:28:47 +00:00
e_coshf.c Use __ldexp_exp() to simplify things and improve accuracy for x near 2011-10-21 06:28:47 +00:00
e_exp.c Use STRICT_ASSIGN() to ensure that the compiler doesn't screw things 2011-10-21 06:26:38 +00:00
e_expf.c Use STRICT_ASSIGN() to ensure that the compiler doesn't screw things 2011-10-21 06:26:38 +00:00
e_fmod.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_fmodf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_fmodl.c The high part of the mantissa is 64 bits on sparc64. 2008-07-31 20:09:47 +00:00
e_gamma_r.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_gamma.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_gammaf_r.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_gammaf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_hypot.c Remove some unnecessary initializations. 2011-10-15 07:00:28 +00:00
e_hypotf.c Remove some unnecessary initializations. 2011-10-15 07:00:28 +00:00
e_hypotl.c Move the macros GET_LDBL_EXPSIGN() and SET_LDBL_EXPSIGN() into 2011-10-16 05:36:39 +00:00
e_j0.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_j0f.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_j1.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_j1f.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_jn.c Fix bug in jn(3) and jnf(3) that led to -inf results 2010-11-13 10:54:10 +00:00
e_jnf.c Fix bug in jn(3) and jnf(3) that led to -inf results 2010-11-13 10:54:10 +00:00
e_lgamma_r.c Remove some unnecessary initializations. 2011-10-15 07:00:28 +00:00
e_lgamma.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_lgammaf_r.c Remove some unnecessary initializations. 2011-10-15 07:00:28 +00:00
e_lgammaf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_log2.c Various changes to improve the accuracy and speed of log{2,10}{,f}. 2011-10-15 05:23:28 +00:00
e_log2f.c Various changes to improve the accuracy and speed of log{2,10}{,f}. 2011-10-15 05:23:28 +00:00
e_log10.c Various changes to improve the accuracy and speed of log{2,10}{,f}. 2011-10-15 05:23:28 +00:00
e_log10f.c Remove an unused variable. 2011-10-16 05:36:23 +00:00
e_log.c Fix some rather obscene code that has ambiguous if...if...else... 2008-03-29 16:37:59 +00:00
e_logf.c Fix some rather obscene code that has ambiguous if...if...else... 2008-03-29 16:37:59 +00:00
e_pow.c Per IEEE754r, pow(1, y) is 1 even if y is NaN, and pow(-1, +-Inf) is 1. 2011-10-21 06:26:07 +00:00
e_powf.c Per IEEE754r, pow(1, y) is 1 even if y is NaN, and pow(-1, +-Inf) is 1. 2011-10-21 06:26:07 +00:00
e_rem_pio2.c In the libm access macros for the double type, z can sometimes 2011-06-19 17:07:58 +00:00
e_rem_pio2f.c Use ISO C99 style inline semantics in msun. 2009-06-03 08:16:34 +00:00
e_remainder.c Implement remainderl() as a wrapper around remquol(). The extra work 2008-03-30 20:47:42 +00:00
e_remainderf.c Fix remainder() and remainderf() in round-towards-minus-infinity mode 2008-02-12 17:11:36 +00:00
e_remainderl.c Implement remainderl() as a wrapper around remquol(). The extra work 2008-03-30 20:47:42 +00:00
e_scalb.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_scalbf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
e_sinh.c Use __ldexp_exp() to simplify things and improve accuracy for x near 2011-10-21 06:28:47 +00:00
e_sinhf.c Use __ldexp_exp() to simplify things and improve accuracy for x near 2011-10-21 06:28:47 +00:00
e_sqrt.c MI implementation of sqrtl(). This is very slow and should 2008-03-02 01:47:58 +00:00
e_sqrtf.c
e_sqrtl.c MI implementation of sqrtl(). This is very slow and should 2008-03-02 01:47:58 +00:00
fenv-softfloat.h Add an implementation of fenv.h intended for platforms that lack an FPU and 2012-01-16 04:09:17 +00:00
k_cos.c Rearrange the polynomial evaluation for better parallelism. This 2008-02-19 12:54:14 +00:00
k_cosf.c Use ISO C99 style inline semantics in msun. 2009-06-03 08:16:34 +00:00
k_exp.c The cexp() and {,c}{cos,sin}h functions all need to be able to compute 2011-10-21 06:27:56 +00:00
k_expf.c Fix a small nit noted by bde: exp_x should be of type float, not double. 2012-01-20 07:02:42 +00:00
k_log.h Various changes to improve the accuracy and speed of log{2,10}{,f}. 2011-10-15 05:23:28 +00:00
k_logf.h Various changes to improve the accuracy and speed of log{2,10}{,f}. 2011-10-15 05:23:28 +00:00
k_rem_pio2.c Fix some off-by-1 errors. 2008-02-25 11:43:20 +00:00
k_sin.c Rearrange the polynomial evaluation for better parallelism. This 2008-02-19 12:54:14 +00:00
k_sinf.c Use ISO C99 style inline semantics in msun. 2009-06-03 08:16:34 +00:00
k_tan.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
k_tanf.c Use ISO C99 style inline semantics in msun. 2009-06-03 08:16:34 +00:00
math_private.h The cexp() and {,c}{cos,sin}h functions all need to be able to compute 2011-10-21 06:27:56 +00:00
math.h Allow inclusion of libc++ <cmath> to work after including math.h 2012-05-27 12:54:41 +00:00
s_asinh.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_asinhf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_atan.c For small arguments, these functions use simple approximations, 2011-02-10 07:37:50 +00:00
s_atanf.c Fix some problems with asinf(), acosf(), atanf(), and atan2f(): 2008-08-01 01:24:25 +00:00
s_atanl.c Add implementations of acosl(), asinl(), atanl(), atan2l(), 2008-07-31 22:41:26 +00:00
s_carg.c
s_cargf.c
s_cargl.c Add implementations of acosl(), asinl(), atanl(), atan2l(), 2008-07-31 22:41:26 +00:00
s_cbrt.c Implement the long double version for the cube root function, cbrtl. 2011-03-12 16:50:39 +00:00
s_cbrtf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_cbrtl.c Take two. Add the missing file that should have been committed 2011-03-12 19:37:35 +00:00
s_ccosh.c Improved handling of large x in ccosh{,f}(): 2011-10-21 06:29:32 +00:00
s_ccoshf.c Improved handling of large x in ccosh{,f}(): 2011-10-21 06:29:32 +00:00
s_ceil.c Sigh, the weak reference for ceill(), floorl() and truncl() was in 2008-02-15 07:01:40 +00:00
s_ceilf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_ceill.c Oops, the weak reference for ceill(), floorl() and truncl() was in the 2008-02-14 15:10:34 +00:00
s_cexp.c The cexp() and {,c}{cos,sin}h functions all need to be able to compute 2011-10-21 06:27:56 +00:00
s_cexpf.c The cexp() and {,c}{cos,sin}h functions all need to be able to compute 2011-10-21 06:27:56 +00:00
s_cimag.c Eliminate __real__ and __imag__ gccisms. 2009-03-14 18:24:15 +00:00
s_cimagf.c Eliminate __real__ and __imag__ gccisms. 2009-03-14 18:24:15 +00:00
s_cimagl.c Eliminate __real__ and __imag__ gccisms. 2009-03-14 18:24:15 +00:00
s_conj.c Use cpack() and the gcc extension __imag__ to implement cimag() and 2008-08-07 14:39:56 +00:00
s_conjf.c Use cpack() and the gcc extension __imag__ to implement cimag() and 2008-08-07 14:39:56 +00:00
s_conjl.c Use cpack() and the gcc extension __imag__ to implement cimag() and 2008-08-07 14:39:56 +00:00
s_copysign.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_copysignf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_copysignl.c
s_cos.c For small arguments, these functions use simple approximations, 2011-02-10 07:37:50 +00:00
s_cosf.c Inline __ieee754__rem_pio2f(). On amd64 (A64) and i386 (A64), this 2008-02-25 22:19:17 +00:00
s_cosl.c Clean up the unneeded cpp macro INLINE_REM_PIO2L. 2011-05-30 19:41:28 +00:00
s_cproj.c Implement cproj{,f,l}(). 2008-08-07 15:07:48 +00:00
s_cprojf.c Implement cproj{,f,l}(). 2008-08-07 15:07:48 +00:00
s_cprojl.c Implement cproj{,f,l}(). 2008-08-07 15:07:48 +00:00
s_creal.c
s_crealf.c
s_creall.c
s_csinh.c Improved handling of large x in ccosh{,f}(): 2011-10-21 06:29:32 +00:00
s_csinhf.c Improved handling of large x in ccosh{,f}(): 2011-10-21 06:29:32 +00:00
s_csqrt.c In the line 2008-08-08 00:15:16 +00:00
s_csqrtf.c In the line 2008-08-08 00:15:16 +00:00
s_csqrtl.c In the line 2008-08-08 00:15:16 +00:00
s_ctanh.c Fix a corner case: tan(large + Inf i) == NaN + NaN i. 2011-10-21 06:30:16 +00:00
s_ctanhf.c Fix a corner case: tan(large + Inf i) == NaN + NaN i. 2011-10-21 06:30:16 +00:00
s_erf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_erff.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_exp2.c Remove an unused variable. 2008-02-22 02:27:34 +00:00
s_exp2f.c Remove an unused variable. 2008-02-22 02:27:34 +00:00
s_expm1.c Use STRICT_ASSIGN() to ensure that the compiler doesn't screw things 2011-10-21 06:26:38 +00:00
s_expm1f.c Use STRICT_ASSIGN() to ensure that the compiler doesn't screw things 2011-10-21 06:26:38 +00:00
s_fabs.c
s_fabsf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_fabsl.c I stopped using my middle name years ago. 2012-04-25 18:07:35 +00:00
s_fdim.c
s_finite.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_finitef.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_floor.c Sigh, the weak reference for ceill(), floorl() and truncl() was in 2008-02-15 07:01:40 +00:00
s_floorf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_floorl.c Oops, the weak reference for ceill(), floorl() and truncl() was in the 2008-02-14 15:10:34 +00:00
s_fma.c Fix a regression introduced in r226371: When the high part of x*y 2011-10-21 06:30:43 +00:00
s_fmaf.c Fix a double-rounding bug in fma{,f,l}. The bug would occur in 2011-10-15 04:16:58 +00:00
s_fmal.c Fix a regression introduced in r226371: When the high part of x*y 2011-10-21 06:30:43 +00:00
s_fmax.c
s_fmaxf.c
s_fmaxl.c
s_fmin.c
s_fminf.c
s_fminl.c
s_frexp.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_frexpf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_frexpl.c
s_ilogb.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_ilogbf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_ilogbl.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_isfinite.c
s_isnan.c Introduce __isnanf() as an alias for isnanf(), and make the isnan() 2010-06-12 17:32:05 +00:00
s_isnormal.c
s_llrint.c
s_llrintf.c
s_llrintl.c Implement rintl(), nearbyintl(), lrintl(), and llrintl(). 2008-01-14 02:12:07 +00:00
s_llround.c
s_llroundf.c
s_llroundl.c
s_log1p.c Fix some rather obscene code that has ambiguous if...if...else... 2008-03-29 16:37:59 +00:00
s_log1pf.c Fix some rather obscene code that has ambiguous if...if...else... 2008-03-29 16:37:59 +00:00
s_logb.c Oops, fix the fix in rev.1.10. logb() and logbf() were broken on 2008-02-08 01:22:13 +00:00
s_logbf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_logbl.c Add logbl(3) to libm. 2007-12-17 03:53:38 +00:00
s_lrint.c
s_lrintf.c
s_lrintl.c Implement rintl(), nearbyintl(), lrintl(), and llrintl(). 2008-01-14 02:12:07 +00:00
s_lround.c
s_lroundf.c
s_lroundl.c
s_modf.c
s_modff.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_modfl.c
s_nan.c Since nan() is supposed to work the same as strtod("nan(...)", NULL), 2007-12-18 23:46:32 +00:00
s_nearbyint.c Implement rintl(), nearbyintl(), lrintl(), and llrintl(). 2008-01-14 02:12:07 +00:00
s_nextafter.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_nextafterf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_nextafterl.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_nexttoward.c Fix a bug where the wrong argument was passed to INSERT_WORDS(). 2011-02-10 07:38:13 +00:00
s_nexttowardf.c Fix a bug where the wrong argument was passed to SET_FLOAT_WORD(). 2011-02-10 07:38:38 +00:00
s_remquo.c Fix a bug in remquo{,f,l}, in which the quotient didn't always have the 2012-04-07 03:59:12 +00:00
s_remquof.c Fix a bug in remquo{,f,l}, in which the quotient didn't always have the 2012-04-07 03:59:12 +00:00
s_remquol.c Fix a bug in remquo{,f,l}, in which the quotient didn't always have the 2012-04-07 03:59:12 +00:00
s_rint.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_rintf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_rintl.c Optimize the conversion to bits a little (by about 11 cycles or 16% 2008-02-22 11:59:05 +00:00
s_round.c
s_roundf.c
s_roundl.c
s_scalbln.c
s_scalbn.c
s_scalbnf.c
s_scalbnl.c
s_signbit.c
s_signgam.c
s_significand.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_significandf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_sin.c For small arguments, these functions use simple approximations, 2011-02-10 07:37:50 +00:00
s_sinf.c Inline __ieee754__rem_pio2f(). On amd64 (A64) and i386 (A64), this 2008-02-25 22:19:17 +00:00
s_sinl.c Clean up the unneeded cpp macro INLINE_REM_PIO2L. 2011-05-30 19:41:28 +00:00
s_tan.c For small arguments, these functions use simple approximations, 2011-02-10 07:37:50 +00:00
s_tanf.c Inline __ieee754__rem_pio2f(). On amd64 (A64) and i386 (A64), this 2008-02-25 22:19:17 +00:00
s_tanh.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_tanhf.c s/rcsid/__FBSDID/ 2008-02-22 02:30:36 +00:00
s_tanl.c Clean up the unneeded cpp macro INLINE_REM_PIO2L. 2011-05-30 19:41:28 +00:00
s_tgammaf.c Add tgammaf() as a simple wrapper around tgamma(). 2008-02-18 17:27:11 +00:00
s_trunc.c Remove an unused variable. 2008-02-22 02:27:34 +00:00
s_truncf.c
s_truncl.c Oops, the weak reference for ceill(), floorl() and truncl() was in the 2008-02-14 15:10:34 +00:00
w_cabs.c Alias hypotl() and cabsl() for platforms where long double is the same 2008-03-30 20:03:06 +00:00
w_cabsf.c
w_cabsl.c Implement cabsl() in terms of hypotl(). 2008-03-30 20:02:03 +00:00
w_drem.c
w_dremf.c