Re: FPEs on FreeBSD
| From: | Sascha Schumann | Date: | Thu, 21 Dec 2000 17:53:51 +0000 |
| Subject: | Re: FPEs on FreeBSD | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42064@lists.php.net to get a copy of this message | ||
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