Re: [PHP-DEV] FPEs on FreeBSD From: Sascha Schumann (sascha <email protected>)
Date: 12/21/00

On Thu, 21 Dec 2000, Andi Gutmans wrote:

> They might be hitting a different reason for an exception. This is the
> current code from zend.c:

    Ok, thanks. Summary so far:

    FPEs occur reliably on:

    3.3
    3.4-RELEASE
    4.1-STABLE

    And not on:

    3.5.1-RELEASE
    4.2-STABLE

    It is possible that the default exception mask has changed
    (some comments in FreeBSD's bug db suggest that).

    FreeBSD's nawk uses this code:

    fpsetround(FP_RN); /* round to nearest */
    fpsetmask(0L);

    Is there any reason why we cannot use the same settings?

    - 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>