Sfoglia il codice sorgente

Use more uniform style of including headers.

Put external headers before internal ones. While there, replace a lot of
occurences of "openlibm.h" with <openlibm.h>. It should be thought of as
an external header, as it is installed along with the library.
Ed Schouten 10 anni fa
parent
commit
06dbb6e72b
100 ha cambiato i file con 168 aggiunte e 105 eliminazioni
  1. 1 1
      amd64/fenv.c
  2. 1 1
      ld128/e_rem_pio2l.h
  3. 2 1
      ld128/k_tanl.c
  4. 1 1
      ld128/s_exp2l.c
  5. 1 1
      ld128/s_nanl.c
  6. 2 1
      ld80/e_coshl.c
  7. 1 2
      ld80/e_rem_pio2l.h
  8. 2 1
      ld80/k_tanl.c
  9. 2 2
      ld80/s_exp2l.c
  10. 1 2
      ld80/s_nanl.c
  11. 1 1
      ld80/s_truncl.c
  12. 1 1
      src/e_acos.c
  13. 2 1
      src/e_acosf.c
  14. 2 1
      src/e_acosh.c
  15. 2 1
      src/e_acoshf.c
  16. 1 1
      src/e_acosl.c
  17. 1 1
      src/e_asin.c
  18. 2 1
      src/e_asinf.c
  19. 1 1
      src/e_asinl.c
  20. 1 1
      src/e_atan2.c
  21. 2 1
      src/e_atan2f.c
  22. 1 1
      src/e_atan2l.c
  23. 2 1
      src/e_atanh.c
  24. 2 1
      src/e_atanhf.c
  25. 2 1
      src/e_cosh.c
  26. 2 1
      src/e_coshf.c
  27. 1 1
      src/e_exp.c
  28. 1 1
      src/e_expf.c
  29. 2 1
      src/e_fmod.c
  30. 2 1
      src/e_fmodf.c
  31. 2 1
      src/e_fmodl.c
  32. 2 1
      src/e_gamma.c
  33. 2 1
      src/e_gamma_r.c
  34. 2 1
      src/e_gammaf.c
  35. 2 1
      src/e_gammaf_r.c
  36. 1 1
      src/e_hypot.c
  37. 2 1
      src/e_hypotf.c
  38. 1 1
      src/e_hypotl.c
  39. 2 1
      src/e_j0.c
  40. 2 1
      src/e_j0f.c
  41. 2 1
      src/e_j1.c
  42. 2 1
      src/e_j1f.c
  43. 2 1
      src/e_jn.c
  44. 2 1
      src/e_jnf.c
  45. 2 1
      src/e_lgamma.c
  46. 2 1
      src/e_lgamma_r.c
  47. 2 1
      src/e_lgammaf.c
  48. 2 1
      src/e_lgammaf_r.c
  49. 3 1
      src/e_lgammal.c
  50. 2 1
      src/e_log.c
  51. 2 1
      src/e_log10.c
  52. 2 1
      src/e_log10f.c
  53. 2 1
      src/e_log2.c
  54. 2 1
      src/e_log2f.c
  55. 2 1
      src/e_logf.c
  56. 2 1
      src/e_pow.c
  57. 2 1
      src/e_powf.c
  58. 1 1
      src/e_rem_pio2.c
  59. 1 1
      src/e_rem_pio2f.c
  60. 1 1
      src/e_remainder.c
  61. 2 1
      src/e_remainderf.c
  62. 2 1
      src/e_scalb.c
  63. 2 1
      src/e_scalbf.c
  64. 2 1
      src/e_sinh.c
  65. 2 1
      src/e_sinhf.c
  66. 1 1
      src/e_sqrt.c
  67. 2 1
      src/e_sqrtf.c
  68. 2 2
      src/e_sqrtl.c
  69. 2 1
      src/k_cos.c
  70. 2 1
      src/k_cosf.c
  71. 1 1
      src/k_rem_pio2.c
  72. 2 1
      src/k_sin.c
  73. 2 1
      src/k_sinf.c
  74. 3 1
      src/k_tan.c
  75. 2 1
      src/k_tanf.c
  76. 1 1
      src/polevll.c
  77. 2 1
      src/s_asinh.c
  78. 2 1
      src/s_asinhf.c
  79. 1 1
      src/s_atan.c
  80. 2 1
      src/s_atanf.c
  81. 1 1
      src/s_atanl.c
  82. 2 1
      src/s_cbrt.c
  83. 2 1
      src/s_cbrtf.c
  84. 2 2
      src/s_cbrtl.c
  85. 1 1
      src/s_ceil.c
  86. 2 1
      src/s_ceilf.c
  87. 2 1
      src/s_copysign.c
  88. 2 1
      src/s_copysignf.c
  89. 1 1
      src/s_cos.c
  90. 1 1
      src/s_cosf.c
  91. 1 1
      src/s_cosl.c
  92. 1 1
      src/s_erf.c
  93. 2 1
      src/s_erff.c
  94. 1 1
      src/s_exp2.c
  95. 1 1
      src/s_exp2f.c
  96. 1 1
      src/s_expm1.c
  97. 1 1
      src/s_expm1f.c
  98. 2 1
      src/s_fabs.c
  99. 2 1
      src/s_fabsf.c
  100. 2 1
      src/s_finite.c

+ 1 - 1
amd64/fenv.c

@@ -32,7 +32,7 @@
 #ifdef _WIN32
 #define __fenv_static
 #endif
-#include "openlibm_fenv.h"
+#include <openlibm_fenv.h>
 
 #ifdef __GNUC_GNU_INLINE__
 #error "This file must be compiled with C99 'inline' semantics"

+ 1 - 1
ld128/e_rem_pio2l.h

@@ -23,8 +23,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 #include "fpmath.h"
 

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 /*

+ 1 - 1
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 <float.h>
+#include <openlibm.h>
 #include <stdint.h>
 
 #include "fpmath.h"
-#include "openlibm.h"
 #include "math_private.h"
 
 #define	TBLBITS	7

+ 1 - 1
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 <openlibm.h>
 
 #include "fpmath.h"
 #include "math_private.h"

+ 2 - 1
ld80/e_coshl.c

@@ -31,7 +31,8 @@
  *	only coshl(0)=1 is exact for finite x.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const long double one = 1.0, half=0.5, huge = 1.0e4900L;

+ 1 - 2
ld80/e_rem_pio2l.h

@@ -23,10 +23,9 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
-#include "openlibm.h"
 
 #define	BIAS	(LDBL_MAX_EXP - 1)
 

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 /*

+ 2 - 2
ld80/s_exp2l.c

@@ -32,8 +32,8 @@
 
 #include "amd64/bsd_ieeefp.h"
 
-#include "openlibm.h"
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 #define	TBLBITS	7

+ 1 - 2
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 <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 DLLEXPORT long double

+ 1 - 1
ld80/s_truncl.c

@@ -24,7 +24,7 @@
 //#include <machine/ieee.h>
 
 #include <float.h>
-#include "openlibm.h"
+#include <openlibm.h>
 #include <stdint.h>
 
 #include "math_private.h"

+ 1 - 1
src/e_acos.c

@@ -39,8 +39,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 2 - 1
src/e_acosh.c

@@ -29,7 +29,8 @@
  *	acosh(NaN) is NaN without signal.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 1 - 1
src/e_acosl.c

@@ -21,9 +21,9 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
 #include "invtrig.h"
-#include "openlibm.h"
 #include "math_private.h"
 
 static const long double

+ 1 - 1
src/e_asin.c

@@ -45,8 +45,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 1 - 1
src/e_asinl.c

@@ -21,9 +21,9 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
 #include "invtrig.h"
-#include "openlibm.h"
 #include "math_private.h"
 
 static const long double

+ 1 - 1
src/e_atan2.c

@@ -43,8 +43,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static volatile double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static volatile float

+ 1 - 1
src/e_atan2l.c

@@ -22,9 +22,9 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
 #include "invtrig.h"
-#include "openlibm.h"
 #include "math_private.h"
 
 static volatile long double

+ 2 - 1
src/e_atanh.c

@@ -33,7 +33,8 @@
  *
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double one = 1.0, huge = 1e300;

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float one = 1.0, huge = 1e30;

+ 2 - 1
src/e_cosh.c

@@ -35,7 +35,8 @@
  *	only cosh(0)=1 is exact for finite x.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double one = 1.0, half=0.5, huge = 1.0e300;

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float one = 1.0, half=0.5, huge = 1.0e30;

+ 1 - 1
src/e_exp.c

@@ -77,8 +77,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double

+ 1 - 1
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 <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const float

+ 2 - 1
src/e_fmod.c

@@ -20,7 +20,8 @@
  * Method: shift and subtract
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double one = 1.0, Zero[] = {0.0, -0.0,};

+ 2 - 1
src/e_fmodf.c

@@ -22,7 +22,8 @@
  * Method: shift and subtract
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const float one = 1.0, Zero[] = {0.0, -0.0,};

+ 2 - 1
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 <float.h>
+#include <openlibm.h>
 #include <stdint.h>
 
 #include "fpmath.h"
-#include "openlibm.h"
+
 #include "math_private.h"
 
 #define	BIAS (LDBL_MAX_EXP - 1)

+ 2 - 1
src/e_gamma.c

@@ -21,7 +21,8 @@
  * Method: call __ieee754_gamma_r
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 extern int signgam;

+ 2 - 1
src/e_gamma_r.c

@@ -22,7 +22,8 @@
  * Method: See __ieee754_lgamma_r
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT double

+ 2 - 1
src/e_gammaf.c

@@ -22,7 +22,8 @@
  * Method: call __ieee754_gammaf_r
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 extern int signgam;

+ 2 - 1
src/e_gammaf_r.c

@@ -23,7 +23,8 @@
  * Method: See __ieee754_lgammaf_r
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT float

+ 1 - 1
src/e_hypot.c

@@ -47,8 +47,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 DLLEXPORT double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT float

+ 1 - 1
src/e_hypotl.c

@@ -16,9 +16,9 @@
 /* long double version of hypot().  See e_hypot.c for most comments. */
 
 #include <float.h>
+#include <openlibm.h>
 
 #include "fpmath.h"
-#include "openlibm.h"
 #include "math_private.h"
 
 #define	GET_LDBL_MAN(h, l, v) do {	\

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static double pzero(double), qzero(double);

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static float pzerof(float), qzerof(float);

+ 2 - 1
src/e_j1.c

@@ -61,7 +61,8 @@
  *	   by method mentioned above.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static double pone(double), qone(double);

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static float ponef(float), qonef(float);

+ 2 - 1
src/e_jn.c

@@ -40,7 +40,8 @@
  *	
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 2 - 1
src/e_lgamma.c

@@ -21,7 +21,8 @@
  * Method: call __ieee754_lgamma_r
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 extern int signgam;

+ 2 - 1
src/e_lgamma_r.c

@@ -83,7 +83,8 @@
  *	
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
src/e_lgammaf.c

@@ -22,7 +22,8 @@
  * Method: call __ieee754_lgammaf_r
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 extern int signgam;

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 3 - 1
src/e_lgammal.c

@@ -1,5 +1,7 @@
 #include "cdefs-compat.h"
-#include "openlibm.h"
+
+#include <openlibm.h>
+
 #include "math_private.h"
 
 extern int signgam;

+ 2 - 1
src/e_log.c

@@ -65,7 +65,8 @@
  * to produce the hexadecimal values shown.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
src/e_log10.c

@@ -22,7 +22,8 @@
  * in not-quite-routine extra precision.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 #include "k_log.h"
 

+ 2 - 1
src/e_log10f.c

@@ -16,7 +16,8 @@
  * Float version of e_log10.c.  See the latter for most comments.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 #include "k_logf.h"
 

+ 2 - 1
src/e_log2.c

@@ -24,7 +24,8 @@
  * in not-quite-routine extra precision.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 #include "k_log.h"
 

+ 2 - 1
src/e_log2f.c

@@ -16,7 +16,8 @@
  * Float version of e_log2.c.  See the latter for most comments.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 #include "k_logf.h"
 

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 2 - 1
src/e_pow.c

@@ -57,7 +57,8 @@
  * to produce the hexadecimal values shown.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 1 - 1
src/e_rem_pio2.c

@@ -23,8 +23,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 /*

+ 1 - 1
src/e_rem_pio2f.c

@@ -25,8 +25,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 /*

+ 1 - 1
src/e_remainder.c

@@ -24,8 +24,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double zero = 0.0;

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float zero = 0.0;

+ 2 - 1
src/e_scalb.c

@@ -20,7 +20,8 @@
  * should use scalbn() instead.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 #ifdef _SCALB_INT

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 #ifdef _SCALB_INT

+ 2 - 1
src/e_sinh.c

@@ -32,7 +32,8 @@
  *	only sinh(0)=0 is exact for finite x.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double one = 1.0, shuge = 1.0e307;

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float one = 1.0, shuge = 1.0e37;

+ 1 - 1
src/e_sqrt.c

@@ -85,8 +85,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static	const double	one	= 1.0, tiny=1.0e-300;

+ 2 - 1
src/e_sqrtf.c

@@ -13,7 +13,8 @@
  * ====================================================
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static	const float	one	= 1.0, tiny=1.0e-30;

+ 2 - 2
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 <float.h>
+#include <openlibm.h>
+#include <openlibm_fenv.h>
 
 #include "fpmath.h"
-#include "openlibm.h"
-#include "openlibm_fenv.h"
 #include "math_private.h"
 
 /* Return (x + ulp) for normal positive x. Assumes no overflow. */

+ 2 - 1
src/k_cos.c

@@ -53,7 +53,8 @@
  *	   any extra precision in w.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 /* |cos(x) - c(x)| < 2**-34.1 (~[-5.37e-11, 5.295e-11]). */

+ 1 - 1
src/k_rem_pio2.c

@@ -130,8 +130,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const int init_jk[] = {3,4,4,6}; /* initial value for jk */

+ 2 - 1
src/k_sin.c

@@ -44,7 +44,8 @@
  *		sin(x) = x + (S1*x + (x *(r-y/2)+y))
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 /* |sin(x)/x - s(x)| < 2**-37.5 (~[-4.89e-12, 4.824e-12]). */

+ 3 - 1
src/k_tan.c

@@ -49,8 +49,10 @@
  *		       = 1 - 2*(tan(y) - (tan(y)^2)/(1+tan(y)))
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
+
 static const double xxx[] = {
 		 3.33333333333334091986e-01,	/* 3FD55555, 55555563 */
 		 1.33333333333201242699e-01,	/* 3FC11111, 1110FE7A */

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 /* |tan(x)/x - t(x)| < 2**-25.5 (~[-2e-08, 2e-08]). */

+ 1 - 1
src/polevll.c

@@ -60,7 +60,7 @@
  *
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
 
 #include "math_private.h"
 

+ 2 - 1
src/s_asinh.c

@@ -24,7 +24,8 @@
  *		 := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2)))
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 1 - 1
src/s_atan.c

@@ -34,8 +34,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double atanhi[] = {

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float atanhi[] = {

+ 1 - 1
src/s_atanl.c

@@ -20,9 +20,9 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
 #include "invtrig.h"
-#include "openlibm.h"
 #include "math_private.h"
 
 static const long double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 /* cbrt(x)

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 /* cbrtf(x)

+ 2 - 2
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 <float.h>
+#include <openlibm.h>
 // VBS
 //#include <ieeefp.h>
 
-#include "fpmath.h"    
-#include "openlibm.h"
+#include "fpmath.h"
 #include "math_private.h"
 #if defined(_WIN32) && defined(__i386__)
 #include "i387/bsd_ieeefp.h"

+ 1 - 1
src/s_ceil.c

@@ -23,8 +23,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double huge = 1.0e300;

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float huge = 1.0e30;

+ 2 - 1
src/s_copysign.c

@@ -19,7 +19,8 @@
  * with the sign bit of y.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT double

+ 2 - 1
src/s_copysignf.c

@@ -22,7 +22,8 @@
  * with the sign bit of y.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT float

+ 1 - 1
src/s_cos.c

@@ -45,8 +45,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 //#define INLINE_REM_PIO2
 #include "math_private.h"
 //#include "e_rem_pio2.c"

+ 1 - 1
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 <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 //#define	INLINE_KERNEL_COSDF
 //#define	INLINE_KERNEL_SINDF
 //#define INLINE_REM_PIO2F

+ 1 - 1
src/s_cosl.c

@@ -33,8 +33,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 #if LDBL_MANT_DIG == 64
 #include "../ld80/e_rem_pio2l.h"

+ 1 - 1
src/s_erf.c

@@ -107,8 +107,8 @@
  *	   	erfc/erf(NaN) is NaN
  */
 
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double

+ 2 - 1
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 <openlibm.h>
+
 #include "math_private.h"
 
 static const float

+ 1 - 1
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 <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 #define	TBLBITS	8

+ 1 - 1
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 <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 #define	TBLBITS	4

+ 1 - 1
src/s_expm1.c

@@ -109,8 +109,8 @@
  */
 
 #include <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const double

+ 1 - 1
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 <float.h>
+#include <openlibm.h>
 
-#include "openlibm.h"
 #include "math_private.h"
 
 static const float

+ 2 - 1
src/s_fabs.c

@@ -14,7 +14,8 @@
  * fabs(x) returns the absolute value of x.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT double

+ 2 - 1
src/s_fabsf.c

@@ -20,7 +20,8 @@
  * fabsf(x) returns the absolute value of x.
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT float

+ 2 - 1
src/s_finite.c

@@ -18,7 +18,8 @@
  * no branching!
  */
 
-#include "openlibm.h"
+#include <openlibm.h>
+
 #include "math_private.h"
 
 DLLEXPORT int

Some files were not shown because too many files changed in this diff