Переглянути джерело

Replace math.h with openlibm.h in the new complex math functions.

Viral B. Shah 10 роки тому
батько
коміт
b7da33c990

+ 1 - 1
src/s_cabs.c

@@ -17,7 +17,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 double
 cabs(double complex z)

+ 1 - 1
src/s_cabsf.c

@@ -16,7 +16,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 float
 cabsf(float complex z)

+ 1 - 1
src/s_cabsl.c

@@ -17,7 +17,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double
 cabsl(long double complex z)

+ 1 - 1
src/s_cacos.c

@@ -48,7 +48,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 double complex
 cacos(double complex z)

+ 1 - 1
src/s_cacosf.c

@@ -47,7 +47,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 float complex
 cacosf(float complex z)

+ 1 - 1
src/s_cacosh.c

@@ -44,7 +44,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 double complex
 cacosh(double complex z)

+ 1 - 1
src/s_cacoshf.c

@@ -43,7 +43,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 float complex
 cacoshf(float complex z)

+ 1 - 1
src/s_cacoshl.c

@@ -44,7 +44,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 cacoshl(long double complex z)

+ 1 - 1
src/s_cacosl.c

@@ -48,7 +48,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 static const long double PIO2L = 1.570796326794896619231321691639751442098585L;
 

+ 1 - 1
src/s_casin.c

@@ -51,7 +51,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 double complex
 casin(double complex z)

+ 1 - 1
src/s_casinf.c

@@ -48,7 +48,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 float complex
 casinf(float complex z)

+ 1 - 1
src/s_casinh.c

@@ -44,7 +44,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 double complex
 casinh(double complex z)

+ 1 - 1
src/s_casinhf.c

@@ -43,7 +43,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 float complex
 casinhf(float complex z)

+ 1 - 1
src/s_casinhl.c

@@ -44,7 +44,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 casinhl(long double complex z)

+ 1 - 1
src/s_casinl.c

@@ -51,7 +51,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 #if	LDBL_MANT_DIG == 64
 static const long double MACHEPL= 5.42101086242752217003726400434970855712890625E-20L;

+ 1 - 1
src/s_catan.c

@@ -64,7 +64,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 #define MAXNUM 1.0e308
 

+ 1 - 1
src/s_catanf.c

@@ -60,7 +60,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 #define MAXNUMF 1.0e38F
 

+ 1 - 1
src/s_catanh.c

@@ -44,7 +44,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 double complex
 catanh(double complex z)

+ 1 - 1
src/s_catanhf.c

@@ -43,7 +43,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 float complex
 catanhf(float complex z)

+ 1 - 1
src/s_catanhl.c

@@ -44,7 +44,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 catanhl(long double complex z)

+ 1 - 1
src/s_catanl.c

@@ -65,7 +65,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 static const long double PIL = 3.141592653589793238462643383279502884197169L;
 static const long double DP1 = 3.14159265358979323829596852490908531763125L;

+ 1 - 1
src/s_ccos.c

@@ -51,7 +51,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 /* calculate cosh and sinh */
 

+ 1 - 1
src/s_ccosf.c

@@ -49,7 +49,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 /* calculate cosh and sinh */
 

+ 1 - 1
src/s_ccoshl.c

@@ -44,7 +44,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 ccoshl(long double complex z)

+ 1 - 1
src/s_ccosl.c

@@ -51,7 +51,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 static void
 cchshl(long double x, long double *c, long double *s)

+ 1 - 1
src/s_cexpl.c

@@ -55,7 +55,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 cexpl(long double complex z)

+ 1 - 1
src/s_clog.c

@@ -56,7 +56,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 double complex
 clog(double complex z)

+ 1 - 1
src/s_clogf.c

@@ -54,7 +54,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 float complex
 clogf(float complex z)

+ 1 - 1
src/s_clogl.c

@@ -56,7 +56,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 clogl(long double complex z)

+ 1 - 1
src/s_csin.c

@@ -53,7 +53,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 /* calculate cosh and sinh */
 

+ 1 - 1
src/s_csinf.c

@@ -50,7 +50,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 /* calculate cosh and sinh */
 

+ 1 - 1
src/s_csinhl.c

@@ -43,7 +43,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 csinhl(long double complex z)

+ 1 - 1
src/s_csinl.c

@@ -53,7 +53,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 static void
 cchshl(long double x, long double *c, long double *s)

+ 1 - 1
src/s_ctan.c

@@ -58,7 +58,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 #define MACHEP 1.1e-16
 #define MAXNUM 1.0e308

+ 1 - 1
src/s_ctanf.c

@@ -54,7 +54,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 #define MACHEPF 3.0e-8
 #define MAXNUMF 1.0e38f

+ 1 - 1
src/s_ctanhl.c

@@ -44,7 +44,7 @@
  */
 
 #include <complex.h>
-#include <math.h>
+#include "openlibm.h"
 
 long double complex
 ctanhl(long double complex z)

+ 1 - 1
src/s_ctanl.c

@@ -58,7 +58,7 @@
 
 #include <complex.h>
 #include <float.h>
-#include <math.h>
+#include "openlibm.h"
 
 #if	LDBL_MANT_DIG == 64
 static const long double MACHEPL= 5.42101086242752217003726400434970855712890625E-20L;