php_get_nan() returns NAN with sign bit set in Windows
| From: | Chung Leong | Date: | Thu, 10 Apr 2014 15:48:42 +0000 |
| Subject: | php_get_nan() returns NAN with sign bit set in Windows | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-11707@lists.php.net to get a copy of this message | ||
Is there any particular reason why this is? The sign on the return value
for this function is rather inconsistent. NAN is also negative when it's
(0.0 / 0.0). atof("NAN") yields a positive NAN meanwhile.