Quellcode durchsuchen

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

Viral B. Shah vor 10 Jahren
Ursprung
Commit
b7da33c990
37 geänderte Dateien mit 37 neuen und 37 gelöschten Zeilen
  1. 1 1
      src/s_cabs.c
  2. 1 1
      src/s_cabsf.c
  3. 1 1
      src/s_cabsl.c
  4. 1 1
      src/s_cacos.c
  5. 1 1
      src/s_cacosf.c
  6. 1 1
      src/s_cacosh.c
  7. 1 1
      src/s_cacoshf.c
  8. 1 1
      src/s_cacoshl.c
  9. 1 1
      src/s_cacosl.c
  10. 1 1
      src/s_casin.c
  11. 1 1
      src/s_casinf.c
  12. 1 1
      src/s_casinh.c
  13. 1 1
      src/s_casinhf.c
  14. 1 1
      src/s_casinhl.c
  15. 1 1
      src/s_casinl.c
  16. 1 1
      src/s_catan.c
  17. 1 1
      src/s_catanf.c
  18. 1 1
      src/s_catanh.c
  19. 1 1
      src/s_catanhf.c
  20. 1 1
      src/s_catanhl.c
  21. 1 1
      src/s_catanl.c
  22. 1 1
      src/s_ccos.c
  23. 1 1
      src/s_ccosf.c
  24. 1 1
      src/s_ccoshl.c
  25. 1 1
      src/s_ccosl.c
  26. 1 1
      src/s_cexpl.c
  27. 1 1
      src/s_clog.c
  28. 1 1
      src/s_clogf.c
  29. 1 1
      src/s_clogl.c
  30. 1 1
      src/s_csin.c
  31. 1 1
      src/s_csinf.c
  32. 1 1
      src/s_csinhl.c
  33. 1 1
      src/s_csinl.c
  34. 1 1
      src/s_ctan.c
  35. 1 1
      src/s_ctanf.c
  36. 1 1
      src/s_ctanhl.c
  37. 1 1
      src/s_ctanl.c

+ 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;