From 06dbb6e72b1d3e43ca813caa0b139094068e6a88 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Fri, 9 Jan 2015 14:24:24 +0100 Subject: [PATCH] Use more uniform style of including headers. Put external headers before internal ones. While there, replace a lot of occurences of "openlibm.h" with . It should be thought of as an external header, as it is installed along with the library. --- amd64/fenv.c | 2 +- ld128/e_rem_pio2l.h | 2 +- ld128/k_tanl.c | 3 ++- ld128/s_exp2l.c | 2 +- ld128/s_nanl.c | 2 +- ld80/e_coshl.c | 3 ++- ld80/e_rem_pio2l.h | 3 +-- ld80/k_tanl.c | 3 ++- ld80/s_exp2l.c | 4 ++-- ld80/s_nanl.c | 3 +-- ld80/s_truncl.c | 2 +- src/e_acos.c | 2 +- src/e_acosf.c | 3 ++- src/e_acosh.c | 3 ++- src/e_acoshf.c | 3 ++- src/e_acosl.c | 2 +- src/e_asin.c | 2 +- src/e_asinf.c | 3 ++- src/e_asinl.c | 2 +- src/e_atan2.c | 2 +- src/e_atan2f.c | 3 ++- src/e_atan2l.c | 2 +- src/e_atanh.c | 3 ++- src/e_atanhf.c | 3 ++- src/e_cosh.c | 3 ++- src/e_coshf.c | 3 ++- src/e_exp.c | 2 +- src/e_expf.c | 2 +- src/e_fmod.c | 3 ++- src/e_fmodf.c | 3 ++- src/e_fmodl.c | 3 ++- src/e_gamma.c | 3 ++- src/e_gamma_r.c | 3 ++- src/e_gammaf.c | 3 ++- src/e_gammaf_r.c | 3 ++- src/e_hypot.c | 2 +- src/e_hypotf.c | 3 ++- src/e_hypotl.c | 2 +- src/e_j0.c | 3 ++- src/e_j0f.c | 3 ++- src/e_j1.c | 3 ++- src/e_j1f.c | 3 ++- src/e_jn.c | 3 ++- src/e_jnf.c | 3 ++- src/e_lgamma.c | 3 ++- src/e_lgamma_r.c | 3 ++- src/e_lgammaf.c | 3 ++- src/e_lgammaf_r.c | 3 ++- src/e_lgammal.c | 4 +++- src/e_log.c | 3 ++- src/e_log10.c | 3 ++- src/e_log10f.c | 3 ++- src/e_log2.c | 3 ++- src/e_log2f.c | 3 ++- src/e_logf.c | 3 ++- src/e_pow.c | 3 ++- src/e_powf.c | 3 ++- src/e_rem_pio2.c | 2 +- src/e_rem_pio2f.c | 2 +- src/e_remainder.c | 2 +- src/e_remainderf.c | 3 ++- src/e_scalb.c | 3 ++- src/e_scalbf.c | 3 ++- src/e_sinh.c | 3 ++- src/e_sinhf.c | 3 ++- src/e_sqrt.c | 2 +- src/e_sqrtf.c | 3 ++- src/e_sqrtl.c | 4 ++-- src/k_cos.c | 3 ++- src/k_cosf.c | 3 ++- src/k_rem_pio2.c | 2 +- src/k_sin.c | 3 ++- src/k_sinf.c | 3 ++- src/k_tan.c | 4 +++- src/k_tanf.c | 3 ++- src/polevll.c | 2 +- src/s_asinh.c | 3 ++- src/s_asinhf.c | 3 ++- src/s_atan.c | 2 +- src/s_atanf.c | 3 ++- src/s_atanl.c | 2 +- src/s_cbrt.c | 3 ++- src/s_cbrtf.c | 3 ++- src/s_cbrtl.c | 4 ++-- src/s_ceil.c | 2 +- src/s_ceilf.c | 3 ++- src/s_copysign.c | 3 ++- src/s_copysignf.c | 3 ++- src/s_cos.c | 2 +- src/s_cosf.c | 2 +- src/s_cosl.c | 2 +- src/s_erf.c | 2 +- src/s_erff.c | 3 ++- src/s_exp2.c | 2 +- src/s_exp2f.c | 2 +- src/s_expm1.c | 2 +- src/s_expm1f.c | 2 +- src/s_fabs.c | 3 ++- src/s_fabsf.c | 3 ++- src/s_finite.c | 3 ++- src/s_finitef.c | 3 ++- src/s_floor.c | 2 +- src/s_floorf.c | 3 ++- src/s_fmaf.c | 5 +++-- src/s_frexp.c | 2 +- src/s_frexpf.c | 3 ++- src/s_ilogb.c | 2 +- src/s_ilogbf.c | 2 +- src/s_log1p.c | 2 +- src/s_log1pf.c | 2 +- src/s_logb.c | 2 +- src/s_logbf.c | 3 ++- src/s_modf.c | 3 ++- src/s_modff.c | 3 ++- src/s_nextafter.c | 2 +- src/s_nextafterf.c | 3 ++- src/s_nextafterl.c | 2 +- src/s_nexttoward.c | 2 +- src/s_nexttowardf.c | 2 +- src/s_remquo.c | 2 +- src/s_remquof.c | 3 ++- src/s_remquol.c | 2 +- src/s_rint.c | 2 +- src/s_rintf.c | 2 +- src/s_scalbn.c | 5 +++-- src/s_scalbnf.c | 3 ++- src/s_signgam.c | 4 +++- src/s_significand.c | 3 ++- src/s_significandf.c | 3 ++- src/s_sin.c | 2 +- src/s_sincos.c | 2 +- src/s_sincosf.c | 3 ++- src/s_sincosl.c | 6 +++--- src/s_sinf.c | 2 +- src/s_sinl.c | 2 +- src/s_tan.c | 2 +- src/s_tanf.c | 2 +- src/s_tanh.c | 3 ++- src/s_tanhf.c | 3 ++- src/s_tanl.c | 2 +- src/s_trunc.c | 2 +- src/s_truncf.c | 3 ++- src/w_dremf.c | 3 ++- 143 files changed, 235 insertions(+), 152 deletions(-) diff --git a/amd64/fenv.c b/amd64/fenv.c index b06c899..63b0680 100644 --- a/amd64/fenv.c +++ b/amd64/fenv.c @@ -32,7 +32,7 @@ #ifdef _WIN32 #define __fenv_static #endif -#include "openlibm_fenv.h" +#include #ifdef __GNUC_GNU_INLINE__ #error "This file must be compiled with C99 'inline' semantics" diff --git a/ld128/e_rem_pio2l.h b/ld128/e_rem_pio2l.h index 8ca0b1e..ad84329 100644 --- a/ld128/e_rem_pio2l.h +++ b/ld128/e_rem_pio2l.h @@ -23,8 +23,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" #include "fpmath.h" diff --git a/ld128/k_tanl.c b/ld128/k_tanl.c index 441950f..2675f05 100644 --- a/ld128/k_tanl.c +++ b/ld128/k_tanl.c @@ -18,7 +18,8 @@ * ld128 version of k_tan.c. See ../src/k_tan.c for most comments. */ -#include "openlibm.h" +#include + #include "math_private.h" /* diff --git a/ld128/s_exp2l.c b/ld128/s_exp2l.c index 17f9395..930b4fc 100644 --- a/ld128/s_exp2l.c +++ b/ld128/s_exp2l.c @@ -28,10 +28,10 @@ //__FBSDID("$FreeBSD: src/lib/msun/ld128/s_exp2l.c,v 1.3 2008/02/13 10:44:44 bde Exp $"); #include +#include #include #include "fpmath.h" -#include "openlibm.h" #include "math_private.h" #define TBLBITS 7 diff --git a/ld128/s_nanl.c b/ld128/s_nanl.c index 4e0c36b..a18beaa 100644 --- a/ld128/s_nanl.c +++ b/ld128/s_nanl.c @@ -26,7 +26,7 @@ * $FreeBSD: src/lib/msun/ld128/s_nanl.c,v 1.3 2008/03/02 20:16:55 das Exp $ */ -#include "openlibm.h" +#include #include "fpmath.h" #include "math_private.h" diff --git a/ld80/e_coshl.c b/ld80/e_coshl.c index 2d0a114..670c5c4 100644 --- a/ld80/e_coshl.c +++ b/ld80/e_coshl.c @@ -31,7 +31,8 @@ * only coshl(0)=1 is exact for finite x. */ -#include "openlibm.h" +#include + #include "math_private.h" static const long double one = 1.0, half=0.5, huge = 1.0e4900L; diff --git a/ld80/e_rem_pio2l.h b/ld80/e_rem_pio2l.h index 65ccaaa..eebe723 100644 --- a/ld80/e_rem_pio2l.h +++ b/ld80/e_rem_pio2l.h @@ -23,10 +23,9 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" -#include "openlibm.h" #define BIAS (LDBL_MAX_EXP - 1) diff --git a/ld80/k_tanl.c b/ld80/k_tanl.c index 4e65aac..c85001e 100644 --- a/ld80/k_tanl.c +++ b/ld80/k_tanl.c @@ -18,7 +18,8 @@ * ld80 version of k_tan.c. See ../src/k_tan.c for most comments. */ -#include "openlibm.h" +#include + #include "math_private.h" /* diff --git a/ld80/s_exp2l.c b/ld80/s_exp2l.c index 0c89159..5e13a4e 100644 --- a/ld80/s_exp2l.c +++ b/ld80/s_exp2l.c @@ -32,8 +32,8 @@ #include "amd64/bsd_ieeefp.h" -#include "openlibm.h" -#include "openlibm.h" +#include + #include "math_private.h" #define TBLBITS 7 diff --git a/ld80/s_nanl.c b/ld80/s_nanl.c index 7b0fe01..df6a559 100644 --- a/ld80/s_nanl.c +++ b/ld80/s_nanl.c @@ -26,9 +26,8 @@ * $FreeBSD: src/lib/msun/ld80/s_nanl.c,v 1.2 2007/12/18 23:46:31 das Exp $ */ -#include "openlibm.h" +#include -#include "openlibm.h" #include "math_private.h" DLLEXPORT long double diff --git a/ld80/s_truncl.c b/ld80/s_truncl.c index e4aa68c..922d1da 100644 --- a/ld80/s_truncl.c +++ b/ld80/s_truncl.c @@ -24,7 +24,7 @@ //#include #include -#include "openlibm.h" +#include #include #include "math_private.h" diff --git a/src/e_acos.c b/src/e_acos.c index 3eea520..bf07b54 100644 --- a/src/e_acos.c +++ b/src/e_acos.c @@ -39,8 +39,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/e_acosf.c b/src/e_acosf.c index 8e32fae..21763fc 100644 --- a/src/e_acosf.c +++ b/src/e_acosf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_acosf.c,v 1.11 2008/08/03 17:39:54 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/e_acosh.c b/src/e_acosh.c index 6180b24..d54c21a 100644 --- a/src/e_acosh.c +++ b/src/e_acosh.c @@ -29,7 +29,8 @@ * acosh(NaN) is NaN without signal. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/e_acoshf.c b/src/e_acoshf.c index 65de3f2..5e4a163 100644 --- a/src/e_acoshf.c +++ b/src/e_acoshf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_acoshf.c,v 1.8 2008/02/22 02:30:34 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/e_acosl.c b/src/e_acosl.c index fe6270f..9b3df20 100644 --- a/src/e_acosl.c +++ b/src/e_acosl.c @@ -21,9 +21,9 @@ */ #include +#include #include "invtrig.h" -#include "openlibm.h" #include "math_private.h" static const long double diff --git a/src/e_asin.c b/src/e_asin.c index a0e76f5..67d1d0f 100644 --- a/src/e_asin.c +++ b/src/e_asin.c @@ -45,8 +45,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/e_asinf.c b/src/e_asinf.c index 4db4550..78b1012 100644 --- a/src/e_asinf.c +++ b/src/e_asinf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_asinf.c,v 1.13 2008/08/08 00:21:27 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/e_asinl.c b/src/e_asinl.c index 6de8f0a..c1877f0 100644 --- a/src/e_asinl.c +++ b/src/e_asinl.c @@ -21,9 +21,9 @@ */ #include +#include #include "invtrig.h" -#include "openlibm.h" #include "math_private.h" static const long double diff --git a/src/e_atan2.c b/src/e_atan2.c index d676c7e..bf5b15c 100644 --- a/src/e_atan2.c +++ b/src/e_atan2.c @@ -43,8 +43,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static volatile double diff --git a/src/e_atan2f.c b/src/e_atan2f.c index 2dfc31f..f067a18 100644 --- a/src/e_atan2f.c +++ b/src/e_atan2f.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_atan2f.c,v 1.12 2008/08/03 17:39:54 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static volatile float diff --git a/src/e_atan2l.c b/src/e_atan2l.c index 3bad12f..776bbf5 100644 --- a/src/e_atan2l.c +++ b/src/e_atan2l.c @@ -22,9 +22,9 @@ */ #include +#include #include "invtrig.h" -#include "openlibm.h" #include "math_private.h" static volatile long double diff --git a/src/e_atanh.c b/src/e_atanh.c index d09ba50..0cf09da 100644 --- a/src/e_atanh.c +++ b/src/e_atanh.c @@ -33,7 +33,8 @@ * */ -#include "openlibm.h" +#include + #include "math_private.h" static const double one = 1.0, huge = 1e300; diff --git a/src/e_atanhf.c b/src/e_atanhf.c index e69bf48..bb2a2f6 100644 --- a/src/e_atanhf.c +++ b/src/e_atanhf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_atanhf.c,v 1.7 2008/02/22 02:30:34 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float one = 1.0, huge = 1e30; diff --git a/src/e_cosh.c b/src/e_cosh.c index a8a5c6c..bb04ec9 100644 --- a/src/e_cosh.c +++ b/src/e_cosh.c @@ -35,7 +35,8 @@ * only cosh(0)=1 is exact for finite x. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double one = 1.0, half=0.5, huge = 1.0e300; diff --git a/src/e_coshf.c b/src/e_coshf.c index f5e8202..ad2de96 100644 --- a/src/e_coshf.c +++ b/src/e_coshf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_coshf.c,v 1.9 2011/10/21 06:28:47 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float one = 1.0, half=0.5, huge = 1.0e30; diff --git a/src/e_exp.c b/src/e_exp.c index 88a90f7..6b2e728 100644 --- a/src/e_exp.c +++ b/src/e_exp.c @@ -77,8 +77,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/e_expf.c b/src/e_expf.c index 15d622b..88e0408 100644 --- a/src/e_expf.c +++ b/src/e_expf.c @@ -17,8 +17,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/e_expf.c,v 1.16 2011/10/21 06:26:38 das Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" static const float diff --git a/src/e_fmod.c b/src/e_fmod.c index 83076fb..b91793e 100644 --- a/src/e_fmod.c +++ b/src/e_fmod.c @@ -20,7 +20,8 @@ * Method: shift and subtract */ -#include "openlibm.h" +#include + #include "math_private.h" static const double one = 1.0, Zero[] = {0.0, -0.0,}; diff --git a/src/e_fmodf.c b/src/e_fmodf.c index 14ee260..3ea43ba 100644 --- a/src/e_fmodf.c +++ b/src/e_fmodf.c @@ -22,7 +22,8 @@ * Method: shift and subtract */ -#include "openlibm.h" +#include + #include "math_private.h" static const float one = 1.0, Zero[] = {0.0, -0.0,}; diff --git a/src/e_fmodl.c b/src/e_fmodl.c index 452d155..7aacc2a 100644 --- a/src/e_fmodl.c +++ b/src/e_fmodl.c @@ -14,10 +14,11 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/e_fmodl.c,v 1.2 2008/07/31 20:09:47 das Exp $"); #include +#include #include #include "fpmath.h" -#include "openlibm.h" + #include "math_private.h" #define BIAS (LDBL_MAX_EXP - 1) diff --git a/src/e_gamma.c b/src/e_gamma.c index f256a15..ff7b257 100644 --- a/src/e_gamma.c +++ b/src/e_gamma.c @@ -21,7 +21,8 @@ * Method: call __ieee754_gamma_r */ -#include "openlibm.h" +#include + #include "math_private.h" extern int signgam; diff --git a/src/e_gamma_r.c b/src/e_gamma_r.c index 3d4e767..9d452f9 100644 --- a/src/e_gamma_r.c +++ b/src/e_gamma_r.c @@ -22,7 +22,8 @@ * Method: See __ieee754_lgamma_r */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT double diff --git a/src/e_gammaf.c b/src/e_gammaf.c index 7350ab3..465efb4 100644 --- a/src/e_gammaf.c +++ b/src/e_gammaf.c @@ -22,7 +22,8 @@ * Method: call __ieee754_gammaf_r */ -#include "openlibm.h" +#include + #include "math_private.h" extern int signgam; diff --git a/src/e_gammaf_r.c b/src/e_gammaf_r.c index 68fefd2..264d833 100644 --- a/src/e_gammaf_r.c +++ b/src/e_gammaf_r.c @@ -23,7 +23,8 @@ * Method: See __ieee754_lgammaf_r */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT float diff --git a/src/e_hypot.c b/src/e_hypot.c index db1745f..058a9fd 100644 --- a/src/e_hypot.c +++ b/src/e_hypot.c @@ -47,8 +47,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" DLLEXPORT double diff --git a/src/e_hypotf.c b/src/e_hypotf.c index 7c2885a..046e55e 100644 --- a/src/e_hypotf.c +++ b/src/e_hypotf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_hypotf.c,v 1.14 2011/10/15 07:00:28 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT float diff --git a/src/e_hypotl.c b/src/e_hypotl.c index 269233b..7211ce7 100644 --- a/src/e_hypotl.c +++ b/src/e_hypotl.c @@ -16,9 +16,9 @@ /* long double version of hypot(). See e_hypot.c for most comments. */ #include +#include #include "fpmath.h" -#include "openlibm.h" #include "math_private.h" #define GET_LDBL_MAN(h, l, v) do { \ diff --git a/src/e_j0.c b/src/e_j0.c index 684bd56..af22cb5 100644 --- a/src/e_j0.c +++ b/src/e_j0.c @@ -61,7 +61,8 @@ * 3. Special cases: y0(0)=-inf, y0(x<0)=NaN, y0(inf)=0. */ -#include "openlibm.h" +#include + #include "math_private.h" static double pzero(double), qzero(double); diff --git a/src/e_j0f.c b/src/e_j0f.c index ee32fe1..e3cbc8f 100644 --- a/src/e_j0f.c +++ b/src/e_j0f.c @@ -18,7 +18,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_j0f.c,v 1.8 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static float pzerof(float), qzerof(float); diff --git a/src/e_j1.c b/src/e_j1.c index b084dd9..1dbcd29 100644 --- a/src/e_j1.c +++ b/src/e_j1.c @@ -61,7 +61,8 @@ * by method mentioned above. */ -#include "openlibm.h" +#include + #include "math_private.h" static double pone(double), qone(double); diff --git a/src/e_j1f.c b/src/e_j1f.c index c103f2e..90429f1 100644 --- a/src/e_j1f.c +++ b/src/e_j1f.c @@ -18,7 +18,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_j1f.c,v 1.8 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static float ponef(float), qonef(float); diff --git a/src/e_jn.c b/src/e_jn.c index 883e45c..30bfb82 100644 --- a/src/e_jn.c +++ b/src/e_jn.c @@ -40,7 +40,8 @@ * */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/e_jnf.c b/src/e_jnf.c index 30853e4..7ff3a2d 100644 --- a/src/e_jnf.c +++ b/src/e_jnf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_jnf.c,v 1.11 2010/11/13 10:54:10 uqs Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/e_lgamma.c b/src/e_lgamma.c index 469b38f..da25f44 100644 --- a/src/e_lgamma.c +++ b/src/e_lgamma.c @@ -21,7 +21,8 @@ * Method: call __ieee754_lgamma_r */ -#include "openlibm.h" +#include + #include "math_private.h" extern int signgam; diff --git a/src/e_lgamma_r.c b/src/e_lgamma_r.c index ad2c2ed..3944f36 100644 --- a/src/e_lgamma_r.c +++ b/src/e_lgamma_r.c @@ -83,7 +83,8 @@ * */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/e_lgammaf.c b/src/e_lgammaf.c index 8ac900c..922be5a 100644 --- a/src/e_lgammaf.c +++ b/src/e_lgammaf.c @@ -22,7 +22,8 @@ * Method: call __ieee754_lgammaf_r */ -#include "openlibm.h" +#include + #include "math_private.h" extern int signgam; diff --git a/src/e_lgammaf_r.c b/src/e_lgammaf_r.c index 5d9fc87..52b06c3 100644 --- a/src/e_lgammaf_r.c +++ b/src/e_lgammaf_r.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_lgammaf_r.c,v 1.12 2011/10/15 07:00:28 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/e_lgammal.c b/src/e_lgammal.c index e608eb1..2e68630 100644 --- a/src/e_lgammal.c +++ b/src/e_lgammal.c @@ -1,5 +1,7 @@ #include "cdefs-compat.h" -#include "openlibm.h" + +#include + #include "math_private.h" extern int signgam; diff --git a/src/e_log.c b/src/e_log.c index ee73d74..e55390b 100644 --- a/src/e_log.c +++ b/src/e_log.c @@ -65,7 +65,8 @@ * to produce the hexadecimal values shown. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/e_log10.c b/src/e_log10.c index a6f9dd6..d0a4034 100644 --- a/src/e_log10.c +++ b/src/e_log10.c @@ -22,7 +22,8 @@ * in not-quite-routine extra precision. */ -#include "openlibm.h" +#include + #include "math_private.h" #include "k_log.h" diff --git a/src/e_log10f.c b/src/e_log10f.c index 9ebce9a..38e1a22 100644 --- a/src/e_log10f.c +++ b/src/e_log10f.c @@ -16,7 +16,8 @@ * Float version of e_log10.c. See the latter for most comments. */ -#include "openlibm.h" +#include + #include "math_private.h" #include "k_logf.h" diff --git a/src/e_log2.c b/src/e_log2.c index 0784679..590b3d1 100644 --- a/src/e_log2.c +++ b/src/e_log2.c @@ -24,7 +24,8 @@ * in not-quite-routine extra precision. */ -#include "openlibm.h" +#include + #include "math_private.h" #include "k_log.h" diff --git a/src/e_log2f.c b/src/e_log2f.c index 99fa397..3997e2d 100644 --- a/src/e_log2f.c +++ b/src/e_log2f.c @@ -16,7 +16,8 @@ * Float version of e_log2.c. See the latter for most comments. */ -#include "openlibm.h" +#include + #include "math_private.h" #include "k_logf.h" diff --git a/src/e_logf.c b/src/e_logf.c index c360cb7..fd06a44 100644 --- a/src/e_logf.c +++ b/src/e_logf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_logf.c,v 1.11 2008/03/29 16:37:59 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/e_pow.c b/src/e_pow.c index f1a0c32..2cff6ad 100644 --- a/src/e_pow.c +++ b/src/e_pow.c @@ -57,7 +57,8 @@ * to produce the hexadecimal values shown. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/e_powf.c b/src/e_powf.c index c1e9e8b..d524526 100644 --- a/src/e_powf.c +++ b/src/e_powf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_powf.c,v 1.16 2011/10/21 06:26:07 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/e_rem_pio2.c b/src/e_rem_pio2.c index 2b47309..716abda 100644 --- a/src/e_rem_pio2.c +++ b/src/e_rem_pio2.c @@ -23,8 +23,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" /* diff --git a/src/e_rem_pio2f.c b/src/e_rem_pio2f.c index 0f534aa..a66adbd 100644 --- a/src/e_rem_pio2f.c +++ b/src/e_rem_pio2f.c @@ -25,8 +25,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" /* diff --git a/src/e_remainder.c b/src/e_remainder.c index 1b1410f..cc1e4c5 100644 --- a/src/e_remainder.c +++ b/src/e_remainder.c @@ -24,8 +24,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double zero = 0.0; diff --git a/src/e_remainderf.c b/src/e_remainderf.c index 867c40a..5d49d23 100644 --- a/src/e_remainderf.c +++ b/src/e_remainderf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_remainderf.c,v 1.8 2008/02/12 17:11:36 bde Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float zero = 0.0; diff --git a/src/e_scalb.c b/src/e_scalb.c index e0c9165..abf05f7 100644 --- a/src/e_scalb.c +++ b/src/e_scalb.c @@ -20,7 +20,8 @@ * should use scalbn() instead. */ -#include "openlibm.h" +#include + #include "math_private.h" #ifdef _SCALB_INT diff --git a/src/e_scalbf.c b/src/e_scalbf.c index 7472d37..6154fb0 100644 --- a/src/e_scalbf.c +++ b/src/e_scalbf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_scalbf.c,v 1.13 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" #ifdef _SCALB_INT diff --git a/src/e_sinh.c b/src/e_sinh.c index 5fc451e..f9ffd9e 100644 --- a/src/e_sinh.c +++ b/src/e_sinh.c @@ -32,7 +32,8 @@ * only sinh(0)=0 is exact for finite x. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double one = 1.0, shuge = 1.0e307; diff --git a/src/e_sinhf.c b/src/e_sinhf.c index 9a97834..461502f 100644 --- a/src/e_sinhf.c +++ b/src/e_sinhf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/e_sinhf.c,v 1.10 2011/10/21 06:28:47 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float one = 1.0, shuge = 1.0e37; diff --git a/src/e_sqrt.c b/src/e_sqrt.c index df6eec4..f89b852 100644 --- a/src/e_sqrt.c +++ b/src/e_sqrt.c @@ -85,8 +85,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double one = 1.0, tiny=1.0e-300; diff --git a/src/e_sqrtf.c b/src/e_sqrtf.c index e842efe..f863c7a 100644 --- a/src/e_sqrtf.c +++ b/src/e_sqrtf.c @@ -13,7 +13,8 @@ * ==================================================== */ -#include "openlibm.h" +#include + #include "math_private.h" static const float one = 1.0, tiny=1.0e-30; diff --git a/src/e_sqrtl.c b/src/e_sqrtl.c index 80f3d61..910bfc7 100644 --- a/src/e_sqrtl.c +++ b/src/e_sqrtl.c @@ -28,10 +28,10 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/e_sqrtl.c,v 1.1 2008/03/02 01:47:58 das Exp $"); #include +#include +#include #include "fpmath.h" -#include "openlibm.h" -#include "openlibm_fenv.h" #include "math_private.h" /* Return (x + ulp) for normal positive x. Assumes no overflow. */ diff --git a/src/k_cos.c b/src/k_cos.c index b468594..db7a959 100644 --- a/src/k_cos.c +++ b/src/k_cos.c @@ -53,7 +53,8 @@ * any extra precision in w. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/k_cosf.c b/src/k_cosf.c index 6daeb65..f1a5eac 100644 --- a/src/k_cosf.c +++ b/src/k_cosf.c @@ -19,7 +19,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/k_cosf.c,v 1.18 2009/06/03 08:16:34 ed Exp $"); #endif -#include "openlibm.h" +#include + #include "math_private.h" /* |cos(x) - c(x)| < 2**-34.1 (~[-5.37e-11, 5.295e-11]). */ diff --git a/src/k_rem_pio2.c b/src/k_rem_pio2.c index ba6fd3c..b9637de 100644 --- a/src/k_rem_pio2.c +++ b/src/k_rem_pio2.c @@ -130,8 +130,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const int init_jk[] = {3,4,4,6}; /* initial value for jk */ diff --git a/src/k_sin.c b/src/k_sin.c index 8b7c1e5..0fa59e5 100644 --- a/src/k_sin.c +++ b/src/k_sin.c @@ -44,7 +44,8 @@ * sin(x) = x + (S1*x + (x *(r-y/2)+y)) */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/k_sinf.c b/src/k_sinf.c index 374d610..fb9f22b 100644 --- a/src/k_sinf.c +++ b/src/k_sinf.c @@ -19,7 +19,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/k_sinf.c,v 1.16 2009/06/03 08:16:34 ed Exp $"); #endif -#include "openlibm.h" +#include + #include "math_private.h" /* |sin(x)/x - s(x)| < 2**-37.5 (~[-4.89e-12, 4.824e-12]). */ diff --git a/src/k_tan.c b/src/k_tan.c index 090304c..cda5e67 100644 --- a/src/k_tan.c +++ b/src/k_tan.c @@ -49,8 +49,10 @@ * = 1 - 2*(tan(y) - (tan(y)^2)/(1+tan(y))) */ -#include "openlibm.h" +#include + #include "math_private.h" + static const double xxx[] = { 3.33333333333334091986e-01, /* 3FD55555, 55555563 */ 1.33333333333201242699e-01, /* 3FC11111, 1110FE7A */ diff --git a/src/k_tanf.c b/src/k_tanf.c index 3dac110..a81a516 100644 --- a/src/k_tanf.c +++ b/src/k_tanf.c @@ -18,7 +18,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/k_tanf.c,v 1.23 2009/06/03 08:16:34 ed Exp $"); #endif -#include "openlibm.h" +#include + #include "math_private.h" /* |tan(x)/x - t(x)| < 2**-25.5 (~[-2e-08, 2e-08]). */ diff --git a/src/polevll.c b/src/polevll.c index 78cd75c..3b31ec3 100644 --- a/src/polevll.c +++ b/src/polevll.c @@ -60,7 +60,7 @@ * */ -#include "openlibm.h" +#include #include "math_private.h" diff --git a/src/s_asinh.c b/src/s_asinh.c index 70d1002..d30ae08 100644 --- a/src/s_asinh.c +++ b/src/s_asinh.c @@ -24,7 +24,8 @@ * := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2))) */ -#include "openlibm.h" +#include + #include "math_private.h" static const double diff --git a/src/s_asinhf.c b/src/s_asinhf.c index 8a988df..8b2b951 100644 --- a/src/s_asinhf.c +++ b/src/s_asinhf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_asinhf.c,v 1.9 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/s_atan.c b/src/s_atan.c index 60d8df8..9a08b9f 100644 --- a/src/s_atan.c +++ b/src/s_atan.c @@ -34,8 +34,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double atanhi[] = { diff --git a/src/s_atanf.c b/src/s_atanf.c index 505c3e8..b28deed 100644 --- a/src/s_atanf.c +++ b/src/s_atanf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_atanf.c,v 1.10 2008/08/01 01:24:25 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float atanhi[] = { diff --git a/src/s_atanl.c b/src/s_atanl.c index ee47f4e..9fe682e 100644 --- a/src/s_atanl.c +++ b/src/s_atanl.c @@ -20,9 +20,9 @@ */ #include +#include #include "invtrig.h" -#include "openlibm.h" #include "math_private.h" static const long double diff --git a/src/s_cbrt.c b/src/s_cbrt.c index 2fccb92..17a64a4 100644 --- a/src/s_cbrt.c +++ b/src/s_cbrt.c @@ -15,7 +15,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_cbrt.c,v 1.17 2011/03/12 16:50:39 kargl Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" /* cbrt(x) diff --git a/src/s_cbrtf.c b/src/s_cbrtf.c index ccb7957..5ca255b 100644 --- a/src/s_cbrtf.c +++ b/src/s_cbrtf.c @@ -17,7 +17,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_cbrtf.c,v 1.18 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" /* cbrtf(x) diff --git a/src/s_cbrtl.c b/src/s_cbrtl.c index d43d0af..ddd818b 100644 --- a/src/s_cbrtl.c +++ b/src/s_cbrtl.c @@ -18,11 +18,11 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_cbrtl.c,v 1.1 2011/03/12 19:37:35 kargl Exp $"); #include +#include // VBS //#include -#include "fpmath.h" -#include "openlibm.h" +#include "fpmath.h" #include "math_private.h" #if defined(_WIN32) && defined(__i386__) #include "i387/bsd_ieeefp.h" diff --git a/src/s_ceil.c b/src/s_ceil.c index 7c02043..93ce46b 100644 --- a/src/s_ceil.c +++ b/src/s_ceil.c @@ -23,8 +23,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double huge = 1.0e300; diff --git a/src/s_ceilf.c b/src/s_ceilf.c index 8fb20e5..cd42474 100644 --- a/src/s_ceilf.c +++ b/src/s_ceilf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_ceilf.c,v 1.8 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float huge = 1.0e30; diff --git a/src/s_copysign.c b/src/s_copysign.c index 12b777d..27be952 100644 --- a/src/s_copysign.c +++ b/src/s_copysign.c @@ -19,7 +19,8 @@ * with the sign bit of y. */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT double diff --git a/src/s_copysignf.c b/src/s_copysignf.c index f7e8415..3fcf21e 100644 --- a/src/s_copysignf.c +++ b/src/s_copysignf.c @@ -22,7 +22,8 @@ * with the sign bit of y. */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT float diff --git a/src/s_cos.c b/src/s_cos.c index 2d3c4bb..63e52a3 100644 --- a/src/s_cos.c +++ b/src/s_cos.c @@ -45,8 +45,8 @@ */ #include +#include -#include "openlibm.h" //#define INLINE_REM_PIO2 #include "math_private.h" //#include "e_rem_pio2.c" diff --git a/src/s_cosf.c b/src/s_cosf.c index 1d4e725..72b2551 100644 --- a/src/s_cosf.c +++ b/src/s_cosf.c @@ -18,8 +18,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_cosf.c,v 1.18 2008/02/25 22:19:17 bde Exp $"); #include +#include -#include "openlibm.h" //#define INLINE_KERNEL_COSDF //#define INLINE_KERNEL_SINDF //#define INLINE_REM_PIO2F diff --git a/src/s_cosl.c b/src/s_cosl.c index d9147ae..365d74e 100644 --- a/src/s_cosl.c +++ b/src/s_cosl.c @@ -33,8 +33,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" #if LDBL_MANT_DIG == 64 #include "../ld80/e_rem_pio2l.h" diff --git a/src/s_erf.c b/src/s_erf.c index d6504b5..acccd57 100644 --- a/src/s_erf.c +++ b/src/s_erf.c @@ -107,8 +107,8 @@ * erfc/erf(NaN) is NaN */ +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/s_erff.c b/src/s_erff.c index 18a8f49..c4e1f5f 100644 --- a/src/s_erff.c +++ b/src/s_erff.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_erff.c,v 1.8 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/s_exp2.c b/src/s_exp2.c index 598268b..e1863f5 100644 --- a/src/s_exp2.c +++ b/src/s_exp2.c @@ -28,8 +28,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_exp2.c,v 1.7 2008/02/22 02:27:34 das Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" #define TBLBITS 8 diff --git a/src/s_exp2f.c b/src/s_exp2f.c index 9409bd4..696d63e 100644 --- a/src/s_exp2f.c +++ b/src/s_exp2f.c @@ -28,8 +28,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_exp2f.c,v 1.9 2008/02/22 02:27:34 das Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" #define TBLBITS 4 diff --git a/src/s_expm1.c b/src/s_expm1.c index ff99652..001e3ac 100644 --- a/src/s_expm1.c +++ b/src/s_expm1.c @@ -109,8 +109,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/s_expm1f.c b/src/s_expm1f.c index 9d29ac4..9fd2f8d 100644 --- a/src/s_expm1f.c +++ b/src/s_expm1f.c @@ -17,8 +17,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_expm1f.c,v 1.12 2011/10/21 06:26:38 das Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" static const float diff --git a/src/s_fabs.c b/src/s_fabs.c index 6c53c80..077e02c 100644 --- a/src/s_fabs.c +++ b/src/s_fabs.c @@ -14,7 +14,8 @@ * fabs(x) returns the absolute value of x. */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT double diff --git a/src/s_fabsf.c b/src/s_fabsf.c index f5b4525..8792332 100644 --- a/src/s_fabsf.c +++ b/src/s_fabsf.c @@ -20,7 +20,8 @@ * fabsf(x) returns the absolute value of x. */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT float diff --git a/src/s_finite.c b/src/s_finite.c index 46f84e7..c8c1d0d 100644 --- a/src/s_finite.c +++ b/src/s_finite.c @@ -18,7 +18,8 @@ * no branching! */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT int diff --git a/src/s_finitef.c b/src/s_finitef.c index 6d189a5..44239c1 100644 --- a/src/s_finitef.c +++ b/src/s_finitef.c @@ -21,7 +21,8 @@ * no branching! */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT int diff --git a/src/s_floor.c b/src/s_floor.c index 95891ef..6825492 100644 --- a/src/s_floor.c +++ b/src/s_floor.c @@ -23,8 +23,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double huge = 1.0e300; diff --git a/src/s_floorf.c b/src/s_floorf.c index 678bb11..b056584 100644 --- a/src/s_floorf.c +++ b/src/s_floorf.c @@ -25,7 +25,8 @@ * Inexact flag raised if x not equal to floorf(x). */ -#include "openlibm.h" +#include + #include "math_private.h" static const float huge = 1.0e30; diff --git a/src/s_fmaf.c b/src/s_fmaf.c index b697f9a..e56489e 100644 --- a/src/s_fmaf.c +++ b/src/s_fmaf.c @@ -27,8 +27,9 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_fmaf.c,v 1.3 2011/10/15 04:16:58 das Exp $"); -#include "openlibm.h" -#include "openlibm_fenv.h" +#include +#include + #include "math_private.h" /* diff --git a/src/s_frexp.c b/src/s_frexp.c index 3a7d3bd..c836375 100644 --- a/src/s_frexp.c +++ b/src/s_frexp.c @@ -24,8 +24,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/s_frexpf.c b/src/s_frexpf.c index 1f31aa1..c80f553 100644 --- a/src/s_frexpf.c +++ b/src/s_frexpf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_frexpf.c,v 1.10 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/s_ilogb.c b/src/s_ilogb.c index 14e4265..bbac525 100644 --- a/src/s_ilogb.c +++ b/src/s_ilogb.c @@ -21,8 +21,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" DLLEXPORT int diff --git a/src/s_ilogbf.c b/src/s_ilogbf.c index d83857c..1e556c3 100644 --- a/src/s_ilogbf.c +++ b/src/s_ilogbf.c @@ -17,8 +17,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_ilogbf.c,v 1.8 2008/02/22 02:30:35 das Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" DLLEXPORT int diff --git a/src/s_log1p.c b/src/s_log1p.c index 2752cd2..70d4bcc 100644 --- a/src/s_log1p.c +++ b/src/s_log1p.c @@ -79,8 +79,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/s_log1pf.c b/src/s_log1pf.c index 04120ea..d162f7b 100644 --- a/src/s_log1pf.c +++ b/src/s_log1pf.c @@ -17,8 +17,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_log1pf.c,v 1.12 2008/03/29 16:37:59 das Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" static const float diff --git a/src/s_logb.c b/src/s_logb.c index 4fb376a..9549301 100644 --- a/src/s_logb.c +++ b/src/s_logb.c @@ -20,8 +20,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/s_logbf.c b/src/s_logbf.c index 26a36b5..e1926a3 100644 --- a/src/s_logbf.c +++ b/src/s_logbf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_logbf.c,v 1.9 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/s_modf.c b/src/s_modf.c index 2615729..319c963 100644 --- a/src/s_modf.c +++ b/src/s_modf.c @@ -20,7 +20,8 @@ * No exception. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double one = 1.0; diff --git a/src/s_modff.c b/src/s_modff.c index 7deee06..a8bbf98 100644 --- a/src/s_modff.c +++ b/src/s_modff.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_modff.c,v 1.9 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float one = 1.0; diff --git a/src/s_nextafter.c b/src/s_nextafter.c index f3c695e..2e02a32 100644 --- a/src/s_nextafter.c +++ b/src/s_nextafter.c @@ -21,8 +21,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" DLLEXPORT double diff --git a/src/s_nextafterf.c b/src/s_nextafterf.c index 1a070a6..dac81e9 100644 --- a/src/s_nextafterf.c +++ b/src/s_nextafterf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_nextafterf.c,v 1.11 2008/02/22 02:30:35 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT float diff --git a/src/s_nextafterl.c b/src/s_nextafterl.c index 2874350..27c002e 100644 --- a/src/s_nextafterl.c +++ b/src/s_nextafterl.c @@ -21,9 +21,9 @@ */ #include +#include #include "fpmath.h" -#include "openlibm.h" #include "math_private.h" #if LDBL_MAX_EXP != 0x4000 diff --git a/src/s_nexttoward.c b/src/s_nexttoward.c index eca0370..483c933 100644 --- a/src/s_nexttoward.c +++ b/src/s_nexttoward.c @@ -20,9 +20,9 @@ */ #include +#include #include "fpmath.h" -#include "openlibm.h" #include "math_private.h" #if LDBL_MAX_EXP != 0x4000 diff --git a/src/s_nexttowardf.c b/src/s_nexttowardf.c index d708062..4726cbd 100644 --- a/src/s_nexttowardf.c +++ b/src/s_nexttowardf.c @@ -13,9 +13,9 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_nexttowardf.c,v 1.3 2011/02/10 07:38:38 das Exp $"); #include +#include #include "fpmath.h" -#include "openlibm.h" #include "math_private.h" #define LDBL_INFNAN_EXP (LDBL_MAX_EXP * 2 - 1) diff --git a/src/s_remquo.c b/src/s_remquo.c index 7b63b76..ca62639 100644 --- a/src/s_remquo.c +++ b/src/s_remquo.c @@ -14,8 +14,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_remquo.c,v 1.2 2008/03/30 20:47:26 das Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" static const double Zero[] = {0.0, -0.0,}; diff --git a/src/s_remquof.c b/src/s_remquof.c index 579dec0..72a0316 100644 --- a/src/s_remquof.c +++ b/src/s_remquof.c @@ -13,7 +13,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_remquof.c,v 1.1 2005/03/25 04:40:44 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float Zero[] = {0.0, -0.0,}; diff --git a/src/s_remquol.c b/src/s_remquol.c index 0100cae..69734dd 100644 --- a/src/s_remquol.c +++ b/src/s_remquol.c @@ -14,10 +14,10 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_remquol.c,v 1.2 2008/07/31 20:09:47 das Exp $"); #include +#include #include #include "fpmath.h" -#include "openlibm.h" #include "math_private.h" #define BIAS (LDBL_MAX_EXP - 1) diff --git a/src/s_rint.c b/src/s_rint.c index b246e00..ba0e104 100644 --- a/src/s_rint.c +++ b/src/s_rint.c @@ -24,8 +24,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double diff --git a/src/s_rintf.c b/src/s_rintf.c index 91d05c0..f593c1a 100644 --- a/src/s_rintf.c +++ b/src/s_rintf.c @@ -17,9 +17,9 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_rintf.c,v 1.12 2008/02/22 02:30:35 das Exp $"); #include +#include #include -#include "openlibm.h" #include "math_private.h" static const float diff --git a/src/s_scalbn.c b/src/s_scalbn.c index de2c98f..1071ac3 100644 --- a/src/s_scalbn.c +++ b/src/s_scalbn.c @@ -18,9 +18,10 @@ */ #include "cdefs-compat.h" -#include -#include "openlibm.h" +#include +#include + #include "math_private.h" static const double diff --git a/src/s_scalbnf.c b/src/s_scalbnf.c index e353e24..57d53ca 100644 --- a/src/s_scalbnf.c +++ b/src/s_scalbnf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" -#include "openlibm.h" +#include + #include "math_private.h" static const float diff --git a/src/s_signgam.c b/src/s_signgam.c index b5650f6..7e197a0 100644 --- a/src/s_signgam.c +++ b/src/s_signgam.c @@ -1,3 +1,5 @@ -#include "openlibm.h" +#include + #include "math_private.h" + int signgam = 0; diff --git a/src/s_significand.c b/src/s_significand.c index d6d06ea..51e51fd 100644 --- a/src/s_significand.c +++ b/src/s_significand.c @@ -19,7 +19,8 @@ * for exercising the fraction-part(F) IEEE 754-1985 test vector. */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT double diff --git a/src/s_significandf.c b/src/s_significandf.c index 781f786..3cc5011 100644 --- a/src/s_significandf.c +++ b/src/s_significandf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_significandf.c,v 1.8 2008/02/22 02:30:36 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT float diff --git a/src/s_sin.c b/src/s_sin.c index 31ed70a..9f50764 100644 --- a/src/s_sin.c +++ b/src/s_sin.c @@ -45,8 +45,8 @@ */ #include +#include -#include "openlibm.h" //#define INLINE_REM_PIO2 #include "math_private.h" //#include "e_rem_pio2.c" diff --git a/src/s_sincos.c b/src/s_sincos.c index c10a15d..a6b7cab 100644 --- a/src/s_sincos.c +++ b/src/s_sincos.c @@ -35,8 +35,8 @@ */ #include +#include -#include "openlibm.h" //#define INLINE_REM_PIO2 #include "math_private.h" //#include "e_rem_pio2.c" diff --git a/src/s_sincosf.c b/src/s_sincosf.c index 26ebca0..8908ae6 100644 --- a/src/s_sincosf.c +++ b/src/s_sincosf.c @@ -10,8 +10,9 @@ */ #include "cdefs-compat.h" + #include -#include "openlibm.h" +#include //#define INLINE_KERNEL_COSDF //#define INLINE_KERNEL_SINDF diff --git a/src/s_sincosl.c b/src/s_sincosl.c index 2ca1e97..72ada33 100644 --- a/src/s_sincosl.c +++ b/src/s_sincosl.c @@ -9,11 +9,11 @@ * ==================================================== */ - #include "cdefs-compat.h" +#include "cdefs-compat.h" - #include +#include +#include -#include "openlibm.h" #include "math_private.h" #if LDBL_MANT_DIG == 64 #include "../ld80/e_rem_pio2l.h" diff --git a/src/s_sinf.c b/src/s_sinf.c index 97a2c92..c76a99e 100644 --- a/src/s_sinf.c +++ b/src/s_sinf.c @@ -18,8 +18,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_sinf.c,v 1.17 2008/02/25 22:19:17 bde Exp $"); #include +#include -#include "openlibm.h" //#define INLINE_KERNEL_COSDF //#define INLINE_KERNEL_SINDF //#define INLINE_REM_PIO2F diff --git a/src/s_sinl.c b/src/s_sinl.c index 5c73c33..b460b07 100644 --- a/src/s_sinl.c +++ b/src/s_sinl.c @@ -28,8 +28,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_sinl.c,v 1.3 2011/05/30 19:41:28 kargl Exp $"); #include +#include -#include "openlibm.h" #include "math_private.h" #if LDBL_MANT_DIG == 64 #include "../ld80/e_rem_pio2l.h" diff --git a/src/s_tan.c b/src/s_tan.c index 4392776..e830a19 100644 --- a/src/s_tan.c +++ b/src/s_tan.c @@ -44,8 +44,8 @@ */ #include +#include -#include "openlibm.h" //#define INLINE_REM_PIO2 #include "math_private.h" //#include "e_rem_pio2.c" diff --git a/src/s_tanf.c b/src/s_tanf.c index ccf37a9..f711507 100644 --- a/src/s_tanf.c +++ b/src/s_tanf.c @@ -18,8 +18,8 @@ //__FBSDID("$FreeBSD: src/lib/msun/src/s_tanf.c,v 1.17 2008/02/25 22:19:17 bde Exp $"); #include +#include -#include "openlibm.h" //#define INLINE_KERNEL_TANDF //#define INLINE_REM_PIO2F #include "math_private.h" diff --git a/src/s_tanh.c b/src/s_tanh.c index a400fd6..aee5df0 100644 --- a/src/s_tanh.c +++ b/src/s_tanh.c @@ -37,7 +37,8 @@ * only tanh(0)=0 is exact for finite argument. */ -#include "openlibm.h" +#include + #include "math_private.h" static const double one = 1.0, two = 2.0, tiny = 1.0e-300, huge = 1.0e300; diff --git a/src/s_tanhf.c b/src/s_tanhf.c index 85b5d18..0fdf18d 100644 --- a/src/s_tanhf.c +++ b/src/s_tanhf.c @@ -16,7 +16,8 @@ #include "cdefs-compat.h" //__FBSDID("$FreeBSD: src/lib/msun/src/s_tanhf.c,v 1.9 2008/02/22 02:30:36 das Exp $"); -#include "openlibm.h" +#include + #include "math_private.h" static const float one=1.0, two=2.0, tiny = 1.0e-30, huge = 1.0e30; diff --git a/src/s_tanl.c b/src/s_tanl.c index ab3046a..ea78714 100644 --- a/src/s_tanl.c +++ b/src/s_tanl.c @@ -34,8 +34,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" #if LDBL_MANT_DIG == 64 #include "../ld80/e_rem_pio2l.h" diff --git a/src/s_trunc.c b/src/s_trunc.c index f3d56ae..7f59cf3 100644 --- a/src/s_trunc.c +++ b/src/s_trunc.c @@ -23,8 +23,8 @@ */ #include +#include -#include "openlibm.h" #include "math_private.h" static const double huge = 1.0e300; diff --git a/src/s_truncf.c b/src/s_truncf.c index 470d894..ffbefdf 100644 --- a/src/s_truncf.c +++ b/src/s_truncf.c @@ -22,7 +22,8 @@ * Inexact flag raised if x not equal to truncf(x). */ -#include "openlibm.h" +#include + #include "math_private.h" static const float huge = 1.0e30F; diff --git a/src/w_dremf.c b/src/w_dremf.c index 09a76b4..c469fba 100644 --- a/src/w_dremf.c +++ b/src/w_dremf.c @@ -6,7 +6,8 @@ */ /* $FreeBSD: src/lib/msun/src/w_dremf.c,v 1.3 2004/07/28 05:53:18 kan Exp $ */ -#include "openlibm.h" +#include + #include "math_private.h" DLLEXPORT float