Re: cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/math bug27646.phpt
| From: | Wez Furlong | Date: | Fri, 26 Mar 2004 00:21:27 +0000 |
| Subject: | Re: cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/math bug27646.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-26783@lists.php.net to get a copy of this message | ||
> +#define PHP_DOUBLE_INFINITY_HIGH 0x7ff00000
> +#define PHP_DOUBLE_QUIET_NAN_HIGH 0xfff80000
> +
> +static double php_get_inf()
> +{
> +#if defined(__i386__) || defined(_X86_) || defined(ALPHA) ||
defined(_ALPHA) || defined(__alpha)
> + double val;
> + ((php_uint32*)&val)[1] = PHP_DOUBLE_QUIET_NAN_HIGH;
^^^^^^^^^^
Should this one really be PHP_DOUBLE_INFINITY_HIGH ?
--Wez.