Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

mathconstants.h

Go to the documentation of this file.
00001 
00007 #ifndef __MATHCONSTANTS_H__
00008 #define __MATHCONSTANTS_H__
00009 
00010 namespace Math { 
00011 
00012 const double e       = 2.7182818284590452354;   /* e */
00013 const double pi      = 3.14159265358979323846;  /* pi */
00014 
00015 /* Add the rest if needed: */
00016 
00017 /*const double pi_2     1.57079632679489661923;  */  /* pi/2 */
00018 /*const double pi_4     0.78539816339744830962;  */  /* pi/4 */
00019 /*const double 1_pi     0.31830988618379067154;  */  /* 1/pi */
00020 /*const double 2_pi     0.63661977236758134308;  */  /* 2/pi */
00021 /*const double 2_sqrtpi 1.12837916709551257390;  */  /* 2/sqrt(pi) */
00022 /*const double sqrt2    1.41421356237309504880;  */  /* sqrt(2) */
00023 /*const double sqrt1_2  0.70710678118654752440;  */  /* 1/sqrt(2) */
00024 /*const double log2e    1.4426950408889634074;   */  /* log 2e */
00025 /*const double log10e   0.43429448190325182765;  */  /* log 10e */
00026 /*const double ln2      0.69314718055994530942;  */  /* log e2 */
00027 /*const double ln10     2.30258509299404568402;  */  /* log e10 */
00028 
00029 }
00030 
00031 #endif /* __MATHCONSTANTS_H__ */
00032 

Generated on Mon Jan 20 02:35:44 2003 for RF-LISSOM by doxygen1.3-rc2