LifeV
winmath.h File Reference
#include <errno.h>
#include <float.h>
#include <math.h>
+ Include dependency graph for winmath.h:

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846
 
#define DBL_MANT_DIG   53 /* in this case, at least 12 digit precision */
 
#define BIG_CRITERIA_BIT   (1<<DBL_MANT_DIG/2)
 
#define BIG_CRITERIA   (1.0*BIG_CRITERIA_BIT)
 
#define SMALL_CRITERIA_BIT   (1<<(DBL_MANT_DIG/3))
 
#define SMALL_CRITERIA   (1.0/SMALL_CRITERIA_BIT)
 

Functions

double acosh (double x)
 
double asinh (double x)
 
double atanh (double x)
 
double round (double val)
 
void srand48 (double seed)
 
double drand48 ()
 
float tgammaf (float z)
 
double tgamma (double z)
 
long double tgammal (long double z)
 
float erff (float x)
 

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 20 of file winmath.h.

◆ DBL_MANT_DIG

#define DBL_MANT_DIG   53 /* in this case, at least 12 digit precision */

Definition at line 25 of file winmath.h.

◆ BIG_CRITERIA_BIT

#define BIG_CRITERIA_BIT   (1<<DBL_MANT_DIG/2)

Definition at line 27 of file winmath.h.

◆ BIG_CRITERIA

#define BIG_CRITERIA   (1.0*BIG_CRITERIA_BIT)

Definition at line 29 of file winmath.h.

◆ SMALL_CRITERIA_BIT

#define SMALL_CRITERIA_BIT   (1<<(DBL_MANT_DIG/3))

Definition at line 33 of file winmath.h.

◆ SMALL_CRITERIA

#define SMALL_CRITERIA   (1.0/SMALL_CRITERIA_BIT)

Definition at line 35 of file winmath.h.

Function Documentation

◆ acosh()

double acosh ( double  x)
inline

Definition at line 40 of file winmath.h.

◆ asinh()

double asinh ( double  x)
inline

Definition at line 53 of file winmath.h.

◆ atanh()

double atanh ( double  x)
inline

Definition at line 73 of file winmath.h.

◆ round()

double round ( double  val)
inline

Definition at line 84 of file winmath.h.

◆ srand48()

void srand48 ( double  seed)
inline

Definition at line 89 of file winmath.h.

◆ drand48()

double drand48 ( )
inline

Definition at line 94 of file winmath.h.

◆ tgammaf()

float tgammaf ( float  z)

Definition at line 99 of file winmath.h.

◆ tgamma()

double tgamma ( double  z)

Definition at line 127 of file winmath.h.

◆ tgammal()

long double tgammal ( long double  z)

Definition at line 155 of file winmath.h.

◆ erff()

float erff ( float  x)

Definition at line 186 of file winmath.h.