Re: cvs: php4 /ext/standard formatted_print.c
| From: | Sascha Schumann | Date: | Mon, 14 Aug 2000 11:02:08 +0000 |
| Subject: | Re: cvs: php4 /ext/standard formatted_print.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28800@lists.php.net to get a copy of this message | ||
On Mon, 14 Aug 2000, Stanislav Malyshev wrote:
> 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.
Yeah, I already wrote the zend_finite stuff.. how about
splitting that into two macros? Then these two macros can be
used by zend_finite() and PHP.
- Sascha