mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 10:06:25 +01:00
f7efd14df1
. Hook e_lgammal[_r].c to the build. . Create man page links for lgammal[-r].3. * Symbol.map: . Sort lgammal to its rightful place. . Add FBSD_1.4 section for the new lgamal_r symbol. * ld128/e_lgammal_r.c: . 128-bit implementataion of lgammal_r(). * ld80/e_lgammal_r.c: . Intel 80-bit format implementation of lgammal_r(). * src/e_lgamma.c: . Expose lgammal as a weak reference to lgamma for platforms where long double is mapped to double. * src/e_lgamma_r.c: . Use integer literal constants instead of real literal constants. Let compiler(s) do the job of conversion to the appropriate type. . Expose lgammal_r as a weak reference to lgamma_r for platforms where long double is mapped to double. * src/e_lgammaf_r.c: . Fixed the Cygnus Support conversion of e_lgamma_r.c to float. This includes the generation of new polynomial and rational approximations with fewer terms. For each approximation, include a comment on an estimate of the accuracy over the relevant domain. . Use integer literal constants instead of real literal constants. Let compiler(s) do the job of conversion to the appropriate type. This allows the removal of several explicit casts of double values to float. * src/e_lgammal.c: . Wrapper for lgammal() about lgammal_r(). * src/imprecise.c: . Remove the lgamma. * src/math.h: . Add a prototype for lgammal_r(). * man/lgamma.3: . Document the new functions. Reviewed by: bde
288 lines
2.6 KiB
Plaintext
288 lines
2.6 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;
|
|
acoshl;
|
|
asinhl;
|
|
atanhl;
|
|
cacos;
|
|
cacosf;
|
|
cacosh;
|
|
cacoshf;
|
|
casin;
|
|
casinf;
|
|
casinh;
|
|
casinhf;
|
|
catan;
|
|
catanf;
|
|
catanh;
|
|
catanhf;
|
|
csin;
|
|
csinf;
|
|
csinh;
|
|
csinhf;
|
|
ccos;
|
|
ccosf;
|
|
ccosh;
|
|
ccoshf;
|
|
coshl;
|
|
ctan;
|
|
ctanf;
|
|
ctanh;
|
|
ctanhf;
|
|
erfcl;
|
|
erfl;
|
|
expl;
|
|
expm1l;
|
|
lgammal;
|
|
log10l;
|
|
log1pl;
|
|
log2l;
|
|
logl;
|
|
sinhl;
|
|
tanhl;
|
|
/* Implemented as weak aliases for imprecise versions */
|
|
powl;
|
|
tgammal;
|
|
};
|
|
|
|
/* First added in 11.0-CURRENT */
|
|
FBSD_1.4 {
|
|
lgammal_r;
|
|
};
|