home *** CD-ROM | disk | FTP | other *** search
- // gmConst.h - graphics math constants
- //
- // libgm++: Graphics Math Library
- // Ferdi Scheepers and Stephen F May
- // 15 June 1994
-
- #ifndef GMCONST_H
- #define GMCONST_H
-
- // USEFUL CONSTANTS
-
- double const gm2PI = 6.28318530717958623200;
- double const gmDEGTORAD = 0.01745329251994329547;
- double const gmE = 2.71828182845904553488;
- double const gmEEXPPI = 23.14069263277927390732;
- double const gmGOLDEN = 1.61803398874989490253;
- double const gmINVPI = 0.31830988618379069122;
- double const gmLN10 = 2.30258509299404590109;
- double const gmLN2 = 0.69314718055994528623;
- double const gmLOG10E = 0.43429448190325187218;
- double const gmLOG2E = 1.44269504088896338700;
- double const gmPI = 3.14159265358979323846;
- double const gmPIDIV2 = 1.57079632679489655800;
- double const gmPIDIV4 = 0.78539816339744827900;
- double const gmRADTODEG = 57.29577951308232286465;
- double const gmSQRT2 = 1.41421356237309514547;
- double const gmSQRT2PI = 2.50662827463100024161;
- double const gmSQRT3 = 1.73205080756887719318;
- double const gmSQRT10 = 3.16227766016837952279;
- double const gmSQRTE = 1.64872127070012819416;
- double const gmSQRTHALF = 0.70710678118654757274;
- double const gmSQRTLN2 = 0.83255461115769768821;
- double const gmSQRTPI = 1.77245385090551588192;
- double const gmEPSILON = 1.0e-10;
- double const gmGOOGOL = 1.0e50;
-
- #endif
-
-
-