pc_math.h File Reference

Go to the source code of this file.

Defines

#define M_PI   3.14159265358979323846264338327950288
#define M_2PI   6.28318530717958647692528676655900576
#define M_3PI_4   2.35619449019234492884698253745962716
#define M_PI_2   1.57079632679489661923132169163975144
#define M_3PI_8   1.17809724509617246442349126872981358
#define M_PI_4   0.78539816339744830961566084581987572
#define M_PI_8   0.39269908169872415480783042290993786
#define M_1_PI   0.31830988618379067153776752674502872
#define M_2_PI   0.63661977236758134307553505349005744
#define M_4_PI   1.27323954473516268615107010698011488
#define M_E   2.71828182845904523536028747135266250
#define M_LOG2E   1.44269504088896340735992468100189213
#define M_LOG10E   0.43429448190325182765112891891660508
#define M_LN2   0.69314718055994530941723212145817657
#define M_LN10   2.30258509299404568401799145468436421
#define M_SQRT2   1.41421356237309504880168872420969808
#define M_1_SQRT2   0.70710678118654752440084436210484904
#define M_EULER   0.57721566490153286060651209008240243
#define POLYNOM1(x, a)   ((a)[1]*(x)+(a)[0])
#define POLYNOM2(x, a)   (POLYNOM1((x),(a)+1)*(x)+(a)[0])
#define POLYNOM3(x, a)   (POLYNOM2((x),(a)+1)*(x)+(a)[0])
#define POLYNOM4(x, a)   (POLYNOM3((x),(a)+1)*(x)+(a)[0])
#define POLYNOM5(x, a)   (POLYNOM4((x),(a)+1)*(x)+(a)[0])
#define POLYNOM6(x, a)   (POLYNOM5((x),(a)+1)*(x)+(a)[0])
#define POLYNOM7(x, a)   (POLYNOM6((x),(a)+1)*(x)+(a)[0])
#define POLYNOM8(x, a)   (POLYNOM7((x),(a)+1)*(x)+(a)[0])
#define POLYNOM9(x, a)   (POLYNOM8((x),(a)+1)*(x)+(a)[0])
#define POLYNOM10(x, a)   (POLYNOM9((x),(a)+1)*(x)+(a)[0])
#define POLYNOM11(x, a)   (POLYNOM10((x),(a)+1)*(x)+(a)[0])
#define POLYNOM12(x, a)   (POLYNOM11((x),(a)+1)*(x)+(a)[0])
#define POLYNOM13(x, a)   (POLYNOM12((x),(a)+1)*(x)+(a)[0])
#define M_LN_MAX_D   (M_LN2 * DBL_MAX_EXP)
#define M_LN_MIN_D   (M_LN2 * (DBL_MIN_EXP - 1))


Define Documentation

#define M_1_PI   0.31830988618379067153776752674502872
 

Definition at line 14 of file pc_math.h.

#define M_1_SQRT2   0.70710678118654752440084436210484904
 

Definition at line 23 of file pc_math.h.

#define M_2_PI   0.63661977236758134307553505349005744
 

Definition at line 15 of file pc_math.h.

#define M_2PI   6.28318530717958647692528676655900576
 

Definition at line 8 of file pc_math.h.

#define M_3PI_4   2.35619449019234492884698253745962716
 

Definition at line 9 of file pc_math.h.

#define M_3PI_8   1.17809724509617246442349126872981358
 

Definition at line 11 of file pc_math.h.

#define M_4_PI   1.27323954473516268615107010698011488
 

Definition at line 16 of file pc_math.h.

#define M_E   2.71828182845904523536028747135266250
 

Definition at line 17 of file pc_math.h.

#define M_EULER   0.57721566490153286060651209008240243
 

Definition at line 24 of file pc_math.h.

#define M_LN10   2.30258509299404568401799145468436421
 

Definition at line 21 of file pc_math.h.

#define M_LN2   0.69314718055994530941723212145817657
 

Definition at line 20 of file pc_math.h.

#define M_LN_MAX_D   (M_LN2 * DBL_MAX_EXP)
 

Definition at line 41 of file pc_math.h.

Referenced by _exp(), exp(), sinh_cosh(), and tanh().

#define M_LN_MIN_D   (M_LN2 * (DBL_MIN_EXP - 1))
 

Definition at line 42 of file pc_math.h.

Referenced by _exp(), and exp().

#define M_LOG10E   0.43429448190325182765112891891660508
 

Definition at line 19 of file pc_math.h.

#define M_LOG2E   1.44269504088896340735992468100189213
 

Definition at line 18 of file pc_math.h.

#define M_PI   3.14159265358979323846264338327950288
 

Definition at line 7 of file pc_math.h.

#define M_PI_2   1.57079632679489661923132169163975144
 

Definition at line 10 of file pc_math.h.

#define M_PI_4   0.78539816339744830961566084581987572
 

Definition at line 12 of file pc_math.h.

#define M_PI_8   0.39269908169872415480783042290993786
 

Definition at line 13 of file pc_math.h.

#define M_SQRT2   1.41421356237309504880168872420969808
 

Definition at line 22 of file pc_math.h.

#define POLYNOM1 x,
a   )     ((a)[1]*(x)+(a)[0])
 

Definition at line 27 of file pc_math.h.

#define POLYNOM10 x,
a   )     (POLYNOM9((x),(a)+1)*(x)+(a)[0])
 

Definition at line 36 of file pc_math.h.

#define POLYNOM11 x,
a   )     (POLYNOM10((x),(a)+1)*(x)+(a)[0])
 

Definition at line 37 of file pc_math.h.

#define POLYNOM12 x,
a   )     (POLYNOM11((x),(a)+1)*(x)+(a)[0])
 

Definition at line 38 of file pc_math.h.

#define POLYNOM13 x,
a   )     (POLYNOM12((x),(a)+1)*(x)+(a)[0])
 

Definition at line 39 of file pc_math.h.

#define POLYNOM2 x,
a   )     (POLYNOM1((x),(a)+1)*(x)+(a)[0])
 

Definition at line 28 of file pc_math.h.

Referenced by _exp(), _log(), exp(), log(), tan(), and tanh().

#define POLYNOM3 x,
a   )     (POLYNOM2((x),(a)+1)*(x)+(a)[0])
 

Definition at line 29 of file pc_math.h.

Referenced by _atn(), _exp(), _log(), atan(), exp(), log(), sinh_cosh(), and tanh().

#define POLYNOM4 x,
a   )     (POLYNOM3((x),(a)+1)*(x)+(a)[0])
 

Definition at line 30 of file pc_math.h.

Referenced by _atn(), asin_acos(), atan(), and tan().

#define POLYNOM5 x,
a   )     (POLYNOM4((x),(a)+1)*(x)+(a)[0])
 

Definition at line 31 of file pc_math.h.

Referenced by asin_acos().

#define POLYNOM6 x,
a   )     (POLYNOM5((x),(a)+1)*(x)+(a)[0])
 

Definition at line 32 of file pc_math.h.

#define POLYNOM7 x,
a   )     (POLYNOM6((x),(a)+1)*(x)+(a)[0])
 

Definition at line 33 of file pc_math.h.

Referenced by sinus().

#define POLYNOM8 x,
a   )     (POLYNOM7((x),(a)+1)*(x)+(a)[0])
 

Definition at line 34 of file pc_math.h.

#define POLYNOM9 x,
a   )     (POLYNOM8((x),(a)+1)*(x)+(a)[0])
 

Definition at line 35 of file pc_math.h.


Generated on Fri Apr 14 23:14:49 2006 for minix by  doxygen 1.4.6