diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /modules/fdlibm/src/fdlibm.h | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/fdlibm/src/fdlibm.h')
-rw-r--r-- | modules/fdlibm/src/fdlibm.h | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/modules/fdlibm/src/fdlibm.h b/modules/fdlibm/src/fdlibm.h new file mode 100644 index 0000000000..185f49794b --- /dev/null +++ b/modules/fdlibm/src/fdlibm.h @@ -0,0 +1,90 @@ +/* + * ==================================================== + * 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. + * ==================================================== + */ + +/* + * from: @(#)fdlibm.h 5.1 93/09/24 + * $FreeBSD$ + */ + +#ifndef mozilla_imported_fdlibm_h +#define mozilla_imported_fdlibm_h + +#ifndef M_PI_2 +#define M_PI_2 1.57079632679489661923 /* pi/2 */ +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +double fdlibm_acos(double); +double fdlibm_asin(double); +double fdlibm_atan(double); +double fdlibm_atan2(double, double); +double fdlibm_cos(double); +double fdlibm_sin(double); +double fdlibm_tan(double); + +double fdlibm_cosh(double); +double fdlibm_sinh(double); +double fdlibm_tanh(double); + +double fdlibm_exp(double); +double fdlibm_log(double); +double fdlibm_log10(double); + +double fdlibm_pow(double, double); + +double fdlibm_ceil(double); +double fdlibm_fabs(double); +double fdlibm_floor(double); + +double fdlibm_acosh(double); +double fdlibm_asinh(double); +double fdlibm_atanh(double); +double fdlibm_cbrt(double); +double fdlibm_exp2(double); +double fdlibm_expm1(double); +double fdlibm_hypot(double, double); +double fdlibm_log1p(double); +double fdlibm_log2(double); +double fdlibm_rint(double); +double fdlibm_copysign(double, double); +double fdlibm_nearbyint(double); +double fdlibm_scalbn(double, int); +double fdlibm_trunc(double); +float fdlibm_acosf(float); +float fdlibm_asinf(float); +float fdlibm_atanf(float); +float fdlibm_cosf(float); +float fdlibm_sinf(float); +float fdlibm_tanf(float); +float fdlibm_exp2f(float); +float fdlibm_expf(float); +float fdlibm_log10f(float); +float fdlibm_logf(float); +float fdlibm_powf(float, float); +float fdlibm_sqrtf(float); + +float fdlibm_ceilf(float); +float fdlibm_fabsf(float); +float fdlibm_floorf(float); +float fdlibm_hypotf(float, float); +float fdlibm_nearbyintf(float); +float fdlibm_rintf(float); +float fdlibm_scalbnf(float, int); +float fdlibm_truncf(float); + +#ifdef __cplusplus +} // extern "C" +#endif + +#endif /* !mozilla_imported_fdlibm_h */ |