mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
b83ccea32c
format. These implementations are based on PTP Tang, "Table-driven implementation of the exponential function in IEEE floating-point arithmetic," ACM Trans. Math. Soft., 15, 144-157 (1989). PR: standards/152415 Submitted by: kargl Reviewed by: bde, das Approved by: das (mentor)
254 lines
2.2 KiB
Plaintext
254 lines
2.2 KiB
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
/* 7.0-CURRENT */
|
|
FBSD_1.0 {
|
|
__fe_dfl_env;
|
|
tgamma;
|
|
acos;
|
|
acosf;
|
|
acosh;
|
|
acoshf;
|
|
asin;
|
|
asinf;
|
|
atan2;
|
|
atan2f;
|
|
atanh;
|
|
atanhf;
|
|
cosh;
|
|
coshf;
|
|
exp;
|
|
expf;
|
|
fmod;
|
|
fmodf;
|
|
gamma;
|
|
gamma_r;
|
|
gammaf;
|
|
gammaf_r;
|
|
hypot;
|
|
hypotf;
|
|
j0;
|
|
y0;
|
|
j0f;
|
|
y0f;
|
|
j1;
|
|
y1;
|
|
j1f;
|
|
y1f;
|
|
jn;
|
|
yn;
|
|
jnf;
|
|
ynf;
|
|
lgamma;
|
|
lgamma_r;
|
|
lgammaf;
|
|
lgammaf_r;
|
|
log;
|
|
log10;
|
|
log10f;
|
|
logf;
|
|
pow;
|
|
powf;
|
|
remainder;
|
|
remainderf;
|
|
scalb;
|
|
scalbf;
|
|
sinh;
|
|
sinhf;
|
|
sqrt;
|
|
sqrtf;
|
|
asinh;
|
|
asinhf;
|
|
atan;
|
|
atanf;
|
|
cbrt;
|
|
cbrtf;
|
|
ceil;
|
|
ceilf;
|
|
ceill;
|
|
cimag;
|
|
cimagf;
|
|
cimagl;
|
|
conj;
|
|
conjf;
|
|
conjl;
|
|
copysign;
|
|
copysignf;
|
|
copysignl;
|
|
cos;
|
|
cosf;
|
|
creal;
|
|
crealf;
|
|
creall;
|
|
erf;
|
|
erfc;
|
|
erff;
|
|
erfcf;
|
|
exp2;
|
|
exp2f;
|
|
expm1;
|
|
expm1f;
|
|
fabs;
|
|
fabsf;
|
|
fabsl;
|
|
fdim;
|
|
fdimf;
|
|
fdiml;
|
|
finite;
|
|
finitef;
|
|
floor;
|
|
floorf;
|
|
floorl;
|
|
fma;
|
|
fmaf;
|
|
fmal;
|
|
fmax;
|
|
fmaxf;
|
|
fmaxl;
|
|
fmin;
|
|
fminf;
|
|
fminl;
|
|
frexp;
|
|
frexpf;
|
|
frexpl;
|
|
ilogb;
|
|
ilogbf;
|
|
ilogbl;
|
|
__isfinite;
|
|
__isfinitef;
|
|
__isfinitel;
|
|
isnanf;
|
|
__isnanl;
|
|
__isnormal;
|
|
__isnormalf;
|
|
__isnormall;
|
|
llrint;
|
|
llrintf;
|
|
llround;
|
|
llroundf;
|
|
llroundl;
|
|
log1p;
|
|
log1pf;
|
|
logb;
|
|
logbf;
|
|
lrint;
|
|
lrintf;
|
|
lround;
|
|
lroundf;
|
|
lroundl;
|
|
modff;
|
|
modfl;
|
|
nearbyint;
|
|
nearbyintf;
|
|
nextafter;
|
|
nexttoward;
|
|
nexttowardl;
|
|
nextafterl;
|
|
nextafterf;
|
|
nexttowardf;
|
|
remquo;
|
|
remquof;
|
|
rint;
|
|
rintf;
|
|
round;
|
|
roundf;
|
|
roundl;
|
|
scalbln;
|
|
scalblnf;
|
|
scalblnl;
|
|
scalbn;
|
|
scalbnl;
|
|
scalbnf;
|
|
ldexpf;
|
|
ldexpl;
|
|
__signbit;
|
|
__signbitf;
|
|
__signbitl;
|
|
signgam;
|
|
significand;
|
|
significandf;
|
|
sin;
|
|
sinf;
|
|
tan;
|
|
tanf;
|
|
tanh;
|
|
tanhf;
|
|
trunc;
|
|
truncf;
|
|
truncl;
|
|
cabs;
|
|
cabsf;
|
|
drem;
|
|
dremf;
|
|
};
|
|
|
|
/* First added in 8.0-CURRENT */
|
|
FBSD_1.1 {
|
|
carg;
|
|
cargf;
|
|
csqrt;
|
|
csqrtf;
|
|
logbl;
|
|
nan;
|
|
nanf;
|
|
nanl;
|
|
llrintl;
|
|
lrintl;
|
|
nearbyintl;
|
|
rintl;
|
|
exp2l;
|
|
sinl;
|
|
cosl;
|
|
tanl;
|
|
tgammaf;
|
|
sqrtl;
|
|
hypotl;
|
|
cabsl;
|
|
csqrtl;
|
|
remquol;
|
|
remainderl;
|
|
fmodl;
|
|
acosl;
|
|
asinl;
|
|
atan2l;
|
|
atanl;
|
|
cargl;
|
|
cproj;
|
|
cprojf;
|
|
cprojl;
|
|
};
|
|
|
|
/* First added in 9.0-CURRENT */
|
|
FBSD_1.2 {
|
|
__isnanf;
|
|
cbrtl;
|
|
cexp;
|
|
cexpf;
|
|
log2;
|
|
log2f;
|
|
};
|
|
|
|
/* First added in 10.0-CURRENT */
|
|
FBSD_1.3 {
|
|
feclearexcept;
|
|
fegetexceptflag;
|
|
fetestexcept;
|
|
fegetround;
|
|
fesetround;
|
|
fesetenv;
|
|
csin;
|
|
csinf;
|
|
csinh;
|
|
csinhf;
|
|
ccos;
|
|
ccosf;
|
|
ccosh;
|
|
ccoshf;
|
|
ctan;
|
|
ctanf;
|
|
ctanh;
|
|
ctanhf;
|
|
expl;
|
|
};
|