src/clipsrules/core/emathfun.c File Reference

#include "setup.h"
#include "argacces.h"
#include "envrnmnt.h"
#include "extnfunc.h"
#include "router.h"
#include "emathfun.h"
#include <math.h>

Include dependency graph for emathfun.c:

Go to the source code of this file.

Defines

#define PI   3.14159265358979323846
#define PID2   1.57079632679489661923
#define SMALLEST_ALLOWED_NUMBER   1e-15
#define dtrunc(x)   (((x) < 0.0) ? ceil(x) : floor(x))

Functions

globle void ExtendedMathFunctionDefinitions (void *theEnv)
globle double CosFunction (void *theEnv)
globle double SinFunction (void *theEnv)
globle double TanFunction (void *theEnv)
globle double SecFunction (void *theEnv)
globle double CscFunction (void *theEnv)
globle double CotFunction (void *theEnv)
globle double AcosFunction (void *theEnv)
globle double AsinFunction (void *theEnv)
globle double AtanFunction (void *theEnv)
globle double AsecFunction (void *theEnv)
globle double AcscFunction (void *theEnv)
globle double AcotFunction (void *theEnv)
globle double CoshFunction (void *theEnv)
globle double SinhFunction (void *theEnv)
globle double TanhFunction (void *theEnv)
globle double SechFunction (void *theEnv)
globle double CschFunction (void *theEnv)
globle double CothFunction (void *theEnv)
globle double AcoshFunction (void *theEnv)
globle double AsinhFunction (void *theEnv)
globle double AtanhFunction (void *theEnv)
globle double AsechFunction (void *theEnv)
globle double AcschFunction (void *theEnv)
globle double AcothFunction (void *theEnv)
globle double ExpFunction (void *theEnv)
globle double LogFunction (void *theEnv)
globle double Log10Function (void *theEnv)
globle double SqrtFunction (void *theEnv)
globle double PowFunction (void *theEnv)
globle void ModFunction (void *theEnv, DATA_OBJECT_PTR result)
globle double PiFunction (void *theEnv)
globle double DegRadFunction (void *theEnv)
globle double RadDegFunction (void *theEnv)
globle double DegGradFunction (void *theEnv)
globle double GradDegFunction (void *theEnv)
globle long long RoundFunction (void *theEnv)


Define Documentation

#define dtrunc (  )     (((x) < 0.0) ? ceil(x) : floor(x))

Definition at line 52 of file emathfun.c.

#define PI   3.14159265358979323846

Definition at line 44 of file emathfun.c.

#define PID2   1.57079632679489661923

Definition at line 48 of file emathfun.c.

#define SMALLEST_ALLOWED_NUMBER   1e-15

Definition at line 51 of file emathfun.c.


Function Documentation

globle double AcosFunction ( void *  theEnv  ) 

Definition at line 316 of file emathfun.c.

globle double AcoshFunction ( void *  theEnv  ) 

Definition at line 516 of file emathfun.c.

globle double AcotFunction ( void *  theEnv  ) 

Definition at line 403 of file emathfun.c.

globle double AcothFunction ( void *  theEnv  ) 

Definition at line 601 of file emathfun.c.

globle double AcscFunction ( void *  theEnv  ) 

Definition at line 384 of file emathfun.c.

globle double AcschFunction ( void *  theEnv  ) 

Definition at line 583 of file emathfun.c.

globle double AsecFunction ( void *  theEnv  ) 

Definition at line 365 of file emathfun.c.

globle double AsechFunction ( void *  theEnv  ) 

Definition at line 565 of file emathfun.c.

globle double AsinFunction ( void *  theEnv  ) 

Definition at line 334 of file emathfun.c.

globle double AsinhFunction ( void *  theEnv  ) 

Definition at line 534 of file emathfun.c.

globle double AtanFunction ( void *  theEnv  ) 

Definition at line 352 of file emathfun.c.

globle double AtanhFunction ( void *  theEnv  ) 

Definition at line 547 of file emathfun.c.

globle double CosFunction ( void *  theEnv  ) 

Definition at line 208 of file emathfun.c.

globle double CoshFunction ( void *  theEnv  ) 

Definition at line 418 of file emathfun.c.

globle double CotFunction ( void *  theEnv  ) 

Definition at line 295 of file emathfun.c.

globle double CothFunction ( void *  theEnv  ) 

Definition at line 493 of file emathfun.c.

globle double CscFunction ( void *  theEnv  ) 

Definition at line 275 of file emathfun.c.

globle double CschFunction ( void *  theEnv  ) 

Definition at line 470 of file emathfun.c.

globle double DegGradFunction ( void *  theEnv  ) 

Definition at line 823 of file emathfun.c.

globle double DegRadFunction ( void *  theEnv  ) 

Definition at line 797 of file emathfun.c.

globle double ExpFunction ( void *  theEnv  ) 

Definition at line 619 of file emathfun.c.

globle void ExtendedMathFunctionDefinitions ( void *  theEnv  ) 

Definition at line 74 of file emathfun.c.

globle double GradDegFunction ( void *  theEnv  ) 

Definition at line 836 of file emathfun.c.

globle double Log10Function ( void *  theEnv  ) 

Definition at line 656 of file emathfun.c.

globle double LogFunction ( void *  theEnv  ) 

Definition at line 632 of file emathfun.c.

globle void ModFunction ( void *  theEnv,
DATA_OBJECT_PTR  result 
)

Definition at line 726 of file emathfun.c.

globle double PiFunction ( void *  theEnv  ) 

Definition at line 785 of file emathfun.c.

globle double PowFunction ( void *  theEnv  ) 

Definition at line 698 of file emathfun.c.

globle double RadDegFunction ( void *  theEnv  ) 

Definition at line 810 of file emathfun.c.

globle long long RoundFunction ( void *  theEnv  ) 

Definition at line 849 of file emathfun.c.

globle double SecFunction ( void *  theEnv  ) 

Definition at line 254 of file emathfun.c.

globle double SechFunction ( void *  theEnv  ) 

Definition at line 457 of file emathfun.c.

globle double SinFunction ( void *  theEnv  ) 

Definition at line 221 of file emathfun.c.

globle double SinhFunction ( void *  theEnv  ) 

Definition at line 431 of file emathfun.c.

globle double SqrtFunction ( void *  theEnv  ) 

Definition at line 680 of file emathfun.c.

globle double TanFunction ( void *  theEnv  ) 

Definition at line 234 of file emathfun.c.

globle double TanhFunction ( void *  theEnv  ) 

Definition at line 444 of file emathfun.c.


Generated on Mon Jan 10 22:33:41 2011 by  doxygen 1.5.6