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

This commit is contained in:
Viral B. Shah 2014-12-05 00:29:54 +05:30
parent 9b7fb281fa
commit b7da33c990
37 changed files with 37 additions and 37 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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