Re: FPEs on FreeBSD

From: Date: Thu, 21 Dec 2000 16:38:12 +0000
Subject: Re: FPEs on FreeBSD
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-42054@lists.php.net to get a copy of this message
They might be hitting a different reason for an exception. This is the current code from zend.c: #ifdef __FreeBSD__
    {
        /* FreeBSD floating point precision fix */
#ifdef HAVE_FP_EXCEPT
        fp_except
#else
        fp_except_t
#endif
        mask;
        mask = fpgetmask();
        fpsetmask(mask & ~FP_X_IMP);
    }
#endif Andi At 06:41 21/12/00 +0100, Sascha Schumann wrote:
    Hi,
    we just received a bug report concerning FreeBSD.
    Apparently, the seed initialization generates an FPE on that
    platform.  Additionally, there have been reports about FPEs
    during the session startup (which happens to use rand()).
    I seem to remember that there was some extra FPE handling in
    Zend for the FreeBSD platform.  Has something changed in that
    regard?
    Thanks,
    - Sascha
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#42054) next »