Name Description Size
e_acos.cpp @(#)e_acos.c 1.3 95/01/18 3410
e_acosf.cpp e_acosf.c -- float version of e_acos.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 2026
e_acosh.cpp @(#)e_acosh.c 1.3 95/01/18 1618
e_asin.cpp @(#)e_asin.c 1.3 95/01/18 3584
e_asinf.cpp e_asinf.c -- float version of e_asin.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 1622
e_atan2.cpp @(#)e_atan2.c 1.3 95/01/18 3746
e_atanh.cpp @(#)e_atanh.c 1.3 95/01/18 1597
e_cosh.cpp @(#)e_cosh.c 1.3 95/01/18 2187
e_exp.cpp @(#)e_exp.c 1.6 04/04/22 5264
e_expf.cpp e_expf.c -- float version of e_exp.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 2750
e_hypot.cpp @(#)e_hypot.c 1.3 95/01/18 3248
e_hypotf.cpp e_hypotf.c -- float version of e_hypot.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 2201
e_log.cpp @(#)e_log.c 1.3 95/01/18 4452
e_log2.cpp @(#)e_log10.c 1.3 95/01/18 3646
e_log10.cpp @(#)e_log10.c 1.3 95/01/18 2485
e_log10f.cpp ==================================================== Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. Developed at SunPro, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. ==================================================== 1978
e_logf.cpp e_logf.c -- float version of e_log.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 2405
e_pow.cpp @(#)e_pow.c 1.5 04/04/22 SMI 10025
e_powf.cpp e_powf.c -- float version of e_pow.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 7532
e_rem_pio2.cpp @(#)e_rem_pio2.c 1.4 95/01/18 4782
e_rem_pio2f.cpp e_rem_pio2f.c -- float version of e_rem_pio2.c Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. Debugged and optimized by Bruce D. Evans. 1977
e_sinh.cpp @(#)e_sinh.c 1.3 95/01/18 1999
e_sqrtf.cpp e_sqrtf.c -- float version of e_sqrt.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 2048
fdlibm.h ==================================================== Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. Developed at SunPro, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. ==================================================== 2194
k_cos.cpp @(#)k_cos.c 1.3 95/01/18 2797
k_cosf.cpp k_cosf.c -- float version of k_cos.c Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. Debugged and optimized by Bruce D. Evans. 1247
k_exp.cpp constant for reduction 3002
k_expf.cpp constant for reduction 2221
k_log.h @(#)e_log.c 1.3 95/01/18 3420
k_logf.h ==================================================== Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. Developed at SunPro, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. ==================================================== 996
k_rem_pio2.cpp @(#)k_rem_pio2.c 1.3 95/01/18 15873
k_sin.cpp @(#)k_sin.c 1.3 95/01/18 2307
k_sinf.cpp k_sinf.c -- float version of k_sin.c Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. Optimized by Bruce D. Evans. 1230
k_tan.cpp @(#)k_tan.c 1.5 04/04/22 SMI 4012
k_tanf.cpp k_tanf.c -- float version of k_tan.c Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. Optimized by Bruce D. Evans. 2005
LICENSE 1473
math_private.h ==================================================== Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. Developed at SunPro, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. ==================================================== 25864
moz.build 2128
s_asinh.cpp @(#)s_asinh.c 5.1 93/09/24 1609
s_atan.cpp @(#)s_atan.c 5.1 93/09/24 4101
s_atanf.cpp s_atanf.c -- float version of s_atan.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 2466
s_cbrt.cpp @(#)s_cbrt.c 5.1 93/09/24 4044
s_ceil.cpp @(#)s_ceil.c 5.1 93/09/24 1691
s_ceilf.cpp s_ceilf.c -- float version of s_ceil.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 1255
s_copysign.cpp @(#)s_copysign.c 5.1 93/09/24 794
s_cos.cpp @(#)s_cos.c 5.1 93/09/24 2170
s_cosf.cpp s_cosf.c -- float version of s_cos.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. Optimized by Bruce D. Evans. 2240
s_exp2.cpp exp2(z + eps) eps 14341
s_exp2f.cpp exp2f(x): compute the base 2 exponential of x Accuracy: Peak error < 0.501 ulp; location of peak: -0.030110927. Method: (equally-spaced tables) Reduce x: x = 2**k + y, for integer k and |y| <= 1/2. Thus we have exp2f(x) = 2**k * exp2(y). Reduce y: y = i/TBLSIZE + z for integer i near y * TBLSIZE. Thus we have exp2(y) = exp2(i/TBLSIZE) * exp2(z), with |z| <= 2**-(TBLSIZE+1). We compute exp2(i/TBLSIZE) via table lookup and exp2(z) via a degree-4 minimax polynomial with maximum error under 1.4 * 2**-33. Using double precision for everything except the reduction makes roundoff error insignificant and simplifies the scaling step. This method is due to Tang, but I do not use his suggested parameters: Tang, P. Table-driven Implementation of the Exponential Function in IEEE Floating-Point Arithmetic. TOMS 15(2), 144-157 (1989). 4228
s_expm1.cpp @(#)s_expm1.c 5.1 93/09/24 7331
s_fabs.cpp @(#)s_fabs.c 5.1 93/09/24 663
s_fabsf.cpp s_fabsf.c -- float version of s_fabs.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 751
s_floor.cpp @(#)s_floor.c 5.1 93/09/24 1700
s_floorf.cpp s_floorf.c -- float version of s_floor.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 1431
s_log1p.cpp @(#)s_log1p.c 5.1 93/09/24 5655
s_nearbyint.cpp We save and restore the floating-point environment to avoid raising an inexact exception. We can get away with using fesetenv() instead of feclearexcept()/feupdateenv() to restore the environment because the only exception defined for rint() is overflow, and rounding can't overflow as long as emax >= p. The volatile keyword is needed below because clang incorrectly assumes that rint won't raise any floating-point exceptions. Declaring ret volatile is sufficient to trick the compiler into doing the right thing. 2322
s_rint.cpp @(#)s_rint.c 5.1 93/09/24 2309
s_rintf.cpp s_rintf.c -- float version of s_rint.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 1231
s_scalbn.cpp make sure final n < -53 to avoid double rounding in the subnormal range 794
s_scalbnf.cpp 674
s_sin.cpp @(#)s_sin.c 5.1 93/09/24 2154
s_sinf.cpp s_sinf.c -- float version of s_sin.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. Optimized by Bruce D. Evans. 2220
s_tan.cpp @(#)s_tan.c 5.1 93/09/24 1994
s_tanf.cpp s_tanf.c -- float version of s_tan.c. Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. Optimized by Bruce D. Evans. 2006
s_tanh.cpp @(#)s_tanh.c 5.1 93/09/24 1994
s_trunc.cpp @(#)s_floor.c 5.1 93/09/24 1459
s_truncf.cpp @(#)s_floor.c 5.1 93/09/24 1222