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 <float.h>
#include <math.h>
#include "openlibm.h"
double
cabs(double complex z)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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)

View File

@ -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

View File

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

View File

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

View File

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