diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-26 14:50:16 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-26 14:50:16 +0000 |
commit | 40b8158b60e8b19dd5e2ed6bb796421ce49ff53a (patch) | |
tree | aff161e3cb411ac781f7d11eb9fcbb553cd7ce57 /libm/float_wrappers.c | |
parent | fc3607dc320fc6c6881ccfa7b68f3630e41c3c47 (diff) |
- move libm_hidden_proto to the corresponding headers. Remove from callsites.
Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later
Diffstat (limited to 'libm/float_wrappers.c')
-rw-r--r-- | libm/float_wrappers.c | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/libm/float_wrappers.c b/libm/float_wrappers.c index cd0ae1832..58d3926a7 100644 --- a/libm/float_wrappers.c +++ b/libm/float_wrappers.c @@ -75,7 +75,6 @@ float tanhf(float); #ifdef L_acosf -libm_hidden_proto(acos) float acosf (float x) { return (float) acos( (double)x ); @@ -84,7 +83,6 @@ float acosf (float x) #ifdef L_acoshf -libm_hidden_proto(acosh) float acoshf (float x) { return (float) acosh( (double)x ); @@ -93,7 +91,6 @@ float acoshf (float x) #ifdef L_asinf -libm_hidden_proto(asin) float asinf (float x) { return (float) asin( (double)x ); @@ -102,7 +99,6 @@ float asinf (float x) #ifdef L_asinhf -libm_hidden_proto(asinh) float asinhf (float x) { return (float) asinh( (double)x ); @@ -111,7 +107,6 @@ float asinhf (float x) #ifdef L_atan2f -libm_hidden_proto(atan2) float atan2f (float x, float y) { return (float) atan2( (double)x, (double)y ); @@ -120,7 +115,6 @@ float atan2f (float x, float y) #ifdef L_atanf -libm_hidden_proto(atan) float atanf (float x) { return (float) atan( (double)x ); @@ -129,7 +123,6 @@ float atanf (float x) #ifdef L_atanhf -libm_hidden_proto(atanh) float atanhf (float x) { return (float) atanh( (double)x ); @@ -138,7 +131,6 @@ float atanhf (float x) #ifdef L_cargf -libm_hidden_proto(carg) float cargf (float complex x) { return (float) carg( (double)x ); @@ -147,7 +139,6 @@ float cargf (float complex x) #ifdef L_cbrtf -libm_hidden_proto(cbrt) float cbrtf (float x) { return (float) cbrt( (double)x ); @@ -156,7 +147,6 @@ float cbrtf (float x) #ifdef L_ceilf -libm_hidden_proto(ceil) float ceilf (float x) { return (float) ceil( (double)x ); @@ -165,7 +155,6 @@ float ceilf (float x) #ifdef L_copysignf -libm_hidden_proto(copysign) float copysignf (float x, float y) { return (float) copysign( (double)x, (double)y ); @@ -174,7 +163,6 @@ float copysignf (float x, float y) #ifdef L_cosf -libm_hidden_proto(cos) float cosf (float x) { return (float) cos( (double)x ); @@ -183,7 +171,6 @@ float cosf (float x) #ifdef L_coshf -libm_hidden_proto(cosh) float coshf (float x) { return (float) cosh( (double)x ); @@ -192,7 +179,6 @@ float coshf (float x) #ifdef L_erfcf -libm_hidden_proto(erfc) float erfcf (float x) { return (float) erfc( (double)x ); @@ -201,7 +187,6 @@ float erfcf (float x) #ifdef L_erff -libm_hidden_proto(erf) float erff (float x) { return (float) erf( (double)x ); @@ -210,7 +195,6 @@ float erff (float x) #ifdef L_exp2f -libm_hidden_proto(exp2) float exp2f (float x) { return (float) exp2( (double)x ); @@ -219,7 +203,6 @@ float exp2f (float x) #ifdef L_expf -libm_hidden_proto(exp) float expf (float x) { return (float) exp( (double)x ); @@ -228,7 +211,6 @@ float expf (float x) #ifdef L_expm1f -libm_hidden_proto(expm1) float expm1f (float x) { return (float) expm1( (double)x ); @@ -237,7 +219,6 @@ float expm1f (float x) #ifdef L_fabsf -libm_hidden_proto(fabs) float fabsf (float x) { return (float) fabs( (double)x ); @@ -246,7 +227,6 @@ float fabsf (float x) #ifdef L_fdimf -libm_hidden_proto(fdim) float fdimf (float x, float y) { return (float) fdim( (double)x, (double)y ); @@ -255,7 +235,6 @@ float fdimf (float x, float y) #ifdef L_floorf -libm_hidden_proto(floor) float floorf (float x) { return (float) floor( (double)x ); @@ -264,7 +243,6 @@ float floorf (float x) #ifdef L_fmaf -libm_hidden_proto(fma) float fmaf (float x, float y, float z) { return (float) fma( (double)x, (double)y, (double)z ); @@ -273,7 +251,6 @@ float fmaf (float x, float y, float z) #ifdef L_fmaxf -libm_hidden_proto(fmax) float fmaxf (float x, float y) { return (float) fmax( (double)x, (double)y ); @@ -282,7 +259,6 @@ float fmaxf (float x, float y) #ifdef L_fminf -libm_hidden_proto(fmin) float fminf (float x, float y) { return (float) fmin( (double)x, (double)y ); @@ -291,7 +267,6 @@ float fminf (float x, float y) #ifdef L_fmodf -libm_hidden_proto(fmod) float fmodf (float x, float y) { return (float) fmod( (double)x, (double)y ); @@ -300,7 +275,6 @@ float fmodf (float x, float y) #ifdef L_frexpf -libm_hidden_proto(frexp) float frexpf (float x, int *_exp) { return (float) frexp( (double)x, _exp ); @@ -309,7 +283,6 @@ float frexpf (float x, int *_exp) #ifdef L_hypotf -libm_hidden_proto(hypot) float hypotf (float x, float y) { return (float) hypot( (double)x, (double)y ); @@ -318,7 +291,6 @@ float hypotf (float x, float y) #ifdef L_ilogbf -libm_hidden_proto(ilogb) int ilogbf (float x) { return (int) ilogb( (double)x ); @@ -327,7 +299,6 @@ int ilogbf (float x) #ifdef L_ldexpf -libm_hidden_proto(ldexp) float ldexpf (float x, int _exp) { return (float) ldexp( (double)x, _exp ); @@ -336,7 +307,6 @@ float ldexpf (float x, int _exp) #ifdef L_lgammaf -libm_hidden_proto(lgamma) float lgammaf (float x) { return (float) lgamma( (double)x ); @@ -345,7 +315,6 @@ float lgammaf (float x) #ifdef L_llrintf -libm_hidden_proto(llrint) long long llrintf (float x) { return (long long) llrint( (double)x ); @@ -354,7 +323,6 @@ long long llrintf (float x) #ifdef L_llroundf -libm_hidden_proto(llround) long long llroundf (float x) { return (long long) llround( (double)x ); @@ -363,7 +331,6 @@ long long llroundf (float x) #ifdef L_log10f -libm_hidden_proto(log10) float log10f (float x) { return (float) log10( (double)x ); @@ -372,7 +339,6 @@ float log10f (float x) #ifdef L_log1pf -libm_hidden_proto(log1p) float log1pf (float x) { return (float) log1p( (double)x ); @@ -381,7 +347,6 @@ float log1pf (float x) #ifdef L_log2f -libm_hidden_proto(log2) float log2f (float x) { return (float) log2( (double)x ); @@ -390,7 +355,6 @@ float log2f (float x) #ifdef L_logbf -libm_hidden_proto(logb) float logbf (float x) { return (float) logb( (double)x ); @@ -399,7 +363,6 @@ float logbf (float x) #ifdef L_logf -libm_hidden_proto(log) float logf (float x) { return (float) log( (double)x ); @@ -408,7 +371,6 @@ float logf (float x) #ifdef L_lrintf -libm_hidden_proto(lrint) long lrintf (float x) { return (long) lrint( (double)x ); @@ -417,7 +379,6 @@ long lrintf (float x) #ifdef L_lroundf -libm_hidden_proto(lround) long lroundf (float x) { return (long) lround( (double)x ); @@ -426,7 +387,6 @@ long lroundf (float x) #ifdef L_modff -libm_hidden_proto(modf) float modff (float x, float *iptr) { double y, result; @@ -439,7 +399,6 @@ float modff (float x, float *iptr) #ifdef L_nearbyintf -libm_hidden_proto(nearbyint) float nearbyintf (float x) { return (float) nearbyint( (double)x ); @@ -448,7 +407,6 @@ float nearbyintf (float x) #ifdef L_nextafterf -libm_hidden_proto(nextafter) float nextafterf (float x, float y) { return (float) nextafter( (double)x, (double)y ); @@ -457,7 +415,6 @@ float nextafterf (float x, float y) #ifdef L_nexttowardf -libm_hidden_proto(nexttoward) float nexttowardf (float x, long double y) { return (float) nexttoward( (double)x, (double)y ); @@ -466,7 +423,6 @@ float nexttowardf (float x, long double y) #ifdef L_powf -libm_hidden_proto(pow) float powf (float x, float y) { return (float) pow( (double)x, (double)y ); @@ -475,7 +431,6 @@ float powf (float x, float y) #ifdef L_remainderf -libm_hidden_proto(remainder) float remainderf (float x, float y) { return (float) remainder( (double)x, (double)y ); @@ -484,7 +439,6 @@ float remainderf (float x, float y) #ifdef L_remquof -libm_hidden_proto(remquo) float remquof (float x, float y, int *quo) { return (float) remquo( (double)x, (double)y, quo ); @@ -493,7 +447,6 @@ float remquof (float x, float y, int *quo) #ifdef L_rintf -libm_hidden_proto(rint) float rintf (float x) { return (float) rint( (double)x ); @@ -502,7 +455,6 @@ float rintf (float x) #ifdef L_roundf -libm_hidden_proto(round) float roundf (float x) { return (float) round( (double)x ); @@ -511,7 +463,6 @@ float roundf (float x) #ifdef L_scalblnf -libm_hidden_proto(scalbln) float scalblnf (float x, long _exp) { return (float) scalbln( (double)x, _exp ); @@ -520,7 +471,6 @@ float scalblnf (float x, long _exp) #ifdef L_scalbnf -libm_hidden_proto(scalbn) float scalbnf (float x, int _exp) { return (float) scalbn( (double)x, _exp ); @@ -529,7 +479,6 @@ float scalbnf (float x, int _exp) #ifdef L_sinf -libm_hidden_proto(sin) float sinf (float x) { return (float) sin( (double)x ); @@ -538,7 +487,6 @@ float sinf (float x) #ifdef L_sinhf -libm_hidden_proto(sinh) float sinhf (float x) { return (float) sinh( (double)x ); @@ -547,7 +495,6 @@ float sinhf (float x) #ifdef L_sqrtf -libm_hidden_proto(sqrt) float sqrtf (float x) { return (float) sqrt( (double)x ); @@ -556,7 +503,6 @@ float sqrtf (float x) #ifdef L_tanf -libm_hidden_proto(tan) float tanf (float x) { return (float) tan( (double)x ); @@ -565,7 +511,6 @@ float tanf (float x) #ifdef L_tanhf -libm_hidden_proto(tanh) float tanhf (float x) { return (float) tanh( (double)x ); @@ -574,7 +519,6 @@ float tanhf (float x) #ifdef L_tgammaf -libm_hidden_proto(tgamma) float tgammaf (float x) { return (float) tgamma( (double)x ); @@ -583,7 +527,6 @@ float tgammaf (float x) #ifdef L_truncf -libm_hidden_proto(trunc) float truncf (float x) { return (float) trunc( (double)x ); |