cvs: php4 /ext/standard php_math.h

From: Date: Sat, 19 Aug 2000 22:01:37 +0000
Subject: cvs: php4 /ext/standard php_math.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1243@lists.php.net to get a copy of this message
jmcastagnetto Sat Aug 19 15:01:37 2000 EDT Modified files: /php4/ext/standard php_math.h Log: Added some more predefined constants Index: php4/ext/standard/php_math.h diff -u php4/ext/standard/php_math.h:1.4 php4/ext/standard/php_math.h:1.5 --- php4/ext/standard/php_math.h:1.4 Sun Jul 23 18:39:49 2000 +++ php4/ext/standard/php_math.h Sat Aug 19 15:01:37 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_math.h,v 1.4 2000/07/24 01:39:49 david Exp $ */ +/* $Id: php_math.h,v 1.5 2000/08/19 22:01:37 jmcastagnetto Exp $ */ #ifndef PHP_MATH_H #define PHP_MATH_H @@ -97,16 +97,32 @@ #define M_2_PI 0.63661977236758134308 /* 2/pi */ #endif +#ifndef M_SQRTPI +#define M_SQRTPI 1.77245385090551602729 /* sqrt(pi) */ +#endif + #ifndef M_2_SQRTPI #define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */ #endif +#ifndef M_LNPI +#define M_LNPI 1.14472988584940017414 /* ln(pi) */ +#endif + +#ifndef M_EULER +#define M_EULER 0.57721566490153286061 /* Euler constant */ +#endif + #ifndef M_SQRT2 #define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ #endif #ifndef M_SQRT1_2 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ +#endif + +#ifndef M_SQRT3 +#define M_SQRT3 1.73205080756887729352 /* sqrt(3) */ #endif #endif /* PHP_MATH_H */

« previous php.cvs (#1243) next »