Re: cvs: php4 /ext/standard formatted_print.c
| From: | Stanislav Malyshev | Date: | Mon, 14 Aug 2000 11:01:25 +0000 |
| Subject: | Re: cvs: php4 /ext/standard formatted_print.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28799@lists.php.net to get a copy of this message | ||
SS>> Yuck, how about defining a separate PHP_ISNAN(f) (same for
SS>> isinf) macro which performs these checks? That could be used
SS>> in other places and avoids repeating this ugly mess.
I'm all for it. There's even something like this in Zend's acconfig.h, but
it defines zend_finite, which is unsuccficient (I wanted NaN and finite
separately). I just made a rough fix to stop it from crashing, you and
everybody is welcome to polish it.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665 ext.106