Skip to content

Commit b7da33c

Browse files
committed
Replace math.h with openlibm.h in the new complex math functions.
1 parent 9b7fb28 commit b7da33c

37 files changed

Lines changed: 37 additions & 37 deletions

src/s_cabs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <complex.h>
1919
#include <float.h>
20-
#include <math.h>
20+
#include "openlibm.h"
2121

2222
double
2323
cabs(double complex z)

src/s_cabsf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#include <complex.h>
19-
#include <math.h>
19+
#include "openlibm.h"
2020

2121
float
2222
cabsf(float complex z)

src/s_cabsl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#include <complex.h>
20-
#include <math.h>
20+
#include "openlibm.h"
2121

2222
long double
2323
cabsl(long double complex z)

src/s_cacos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
#include <complex.h>
5050
#include <float.h>
51-
#include <math.h>
51+
#include "openlibm.h"
5252

5353
double complex
5454
cacos(double complex z)

src/s_cacosf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
*/
4848

4949
#include <complex.h>
50-
#include <math.h>
50+
#include "openlibm.h"
5151

5252
float complex
5353
cacosf(float complex z)

src/s_cacosh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
#include <complex.h>
4646
#include <float.h>
47-
#include <math.h>
47+
#include "openlibm.h"
4848

4949
double complex
5050
cacosh(double complex z)

src/s_cacoshf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*/
4444

4545
#include <complex.h>
46-
#include <math.h>
46+
#include "openlibm.h"
4747

4848
float complex
4949
cacoshf(float complex z)

src/s_cacoshl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*/
4545

4646
#include <complex.h>
47-
#include <math.h>
47+
#include "openlibm.h"
4848

4949
long double complex
5050
cacoshl(long double complex z)

src/s_cacosl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*/
4949

5050
#include <complex.h>
51-
#include <math.h>
51+
#include "openlibm.h"
5252

5353
static const long double PIO2L = 1.570796326794896619231321691639751442098585L;
5454

src/s_casin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
#include <complex.h>
5353
#include <float.h>
54-
#include <math.h>
54+
#include "openlibm.h"
5555

5656
double complex
5757
casin(double complex z)

0 commit comments

Comments
 (0)