diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /modules/fdlibm/src/fdlibm.h | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
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 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/modules/fdlibm/src/fdlibm.h b/modules/fdlibm/src/fdlibm.h new file mode 100644 index 0000000000..324e5d0b03 --- /dev/null +++ b/modules/fdlibm/src/fdlibm.h @@ -0,0 +1,64 @@ +/* + * ==================================================== + * 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 + +namespace fdlibm { + +double acos(double); +double asin(double); +double atan(double); +double atan2(double, double); + +double cosh(double); +double sinh(double); +double tanh(double); + +double exp(double); +double log(double); +double log10(double); + +double pow(double, double); +double fabs(double); + +double floor(double); +double trunc(double); +double ceil(double); + +double acosh(double); +double asinh(double); +double atanh(double); +double cbrt(double); +double expm1(double); +double hypot(double, double); +double log1p(double); +double log2(double); +double rint(double); +double copysign(double, double); +double nearbyint(double); +double scalbn(double, int); + +float ceilf(float); +float floorf(float); + +float nearbyintf(float); +float rintf(float); +float truncf(float); + +} /* namespace fdlibm */ + +#endif /* mozilla_imported_fdlibm_h */ |