mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Move php_gcvt to zend_gcvt
Also move PHP_DOUBLE_MAX_LENGTH to ZEND_DOUBLE_MAX_LENGTH.
This commit is contained in:
parent
7c9ac479eb
commit
d28f6e694d
11 changed files with 126 additions and 123 deletions
|
@ -245,13 +245,7 @@ typedef unsigned int socklen_t;
|
|||
#define INT_MIN (- INT_MAX - 1)
|
||||
#endif
|
||||
|
||||
/* double limits */
|
||||
#include <float.h>
|
||||
#if defined(DBL_MANT_DIG) && defined(DBL_MIN_EXP)
|
||||
#define PHP_DOUBLE_MAX_LENGTH (3 + DBL_MANT_DIG - DBL_MIN_EXP)
|
||||
#else
|
||||
#define PHP_DOUBLE_MAX_LENGTH 1080
|
||||
#endif
|
||||
#define PHP_DOUBLE_MAX_LENGTH ZEND_DOUBLE_MAX_LENGTH
|
||||
|
||||
#define PHP_GCC_VERSION ZEND_GCC_VERSION
|
||||
#define PHP_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_MALLOC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue