Re: [PHP-DEV] FPEs on FreeBSD From: Andi Gutmans (andi <email protected>)
Date: 12/21/00

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 <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

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