Partners & Affiliates














[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard formatted_print.c From: Sascha Schumann (sascha <email protected>)
Date: 08/14/00

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>