Edinburgh Speech Tools  2.1-release
EST_math.h File Reference
#include <math.h>
#include <limits.h>
#include <float.h>
Include dependency graph for EST_math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAXFLOAT   ((float)3.0e+37)
 
#define FLT_MAX   ((float)3.0e+37)
 
#define MINFLOAT   ((float)1e-37)
 
#define PI   3.14159265358979323846
 
#define M_PI   PI
 
#define RAND_MAX   32767
 
#define SAFE_LOG_ZERO   -9538
 
#define EST_NINT(X)   ((int)((X)+0.5))
 

Functions

double safe_log (const double x)
 
double safe_exp (const double x)
 
double safe_log10 (const double x)
 
double safe_exp10 (const double x)
 

Macro Definition Documentation

#define MAXFLOAT   ((float)3.0e+37)

Definition at line 131 of file EST_math.h.

#define FLT_MAX   ((float)3.0e+37)

Definition at line 134 of file EST_math.h.

#define MINFLOAT   ((float)1e-37)

Definition at line 137 of file EST_math.h.

#define PI   3.14159265358979323846

Definition at line 144 of file EST_math.h.

#define M_PI   PI

Definition at line 147 of file EST_math.h.

#define RAND_MAX   32767

Definition at line 151 of file EST_math.h.

#define SAFE_LOG_ZERO   -9538

Definition at line 154 of file EST_math.h.

#define EST_NINT (   X)    ((int)((X)+0.5))

Definition at line 156 of file EST_math.h.

Function Documentation

double safe_log ( const double  x)
inline

Definition at line 158 of file EST_math.h.

double safe_exp ( const double  x)
inline

Definition at line 170 of file EST_math.h.

double safe_log10 ( const double  x)
inline

Definition at line 178 of file EST_math.h.

double safe_exp10 ( const double  x)
inline

Definition at line 190 of file EST_math.h.