Re: cvs: php-src /ext/standard basic_functions.c
| From: | Ard Biesheuvel | Date: | Mon, 29 Mar 2004 14:47:48 +0000 |
| Subject: | Re: cvs: php-src /ext/standard basic_functions.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-26845@lists.php.net to get a copy of this message | ||
Andi Gutmans wrote:
Not sure on what platforms you expect the last #else to be reached but it would raise a sigfloatingpoint on FreeBSD. Dividing by zero does not seem like a good idea.Actually, one of the platforms I tested this on is FreeBSD, and it was no problem at all. SIGFPE is raised by the CPU at run-time, but these are resolved by constant folding at compile time. -- Ard