Ticket #574 (closed patch: fixed)
Netbsd gets SIGFPE on alpha platform when calculating Inf
|Reported by:||Infinoid||Owned by:|
|Severity:||medium||Keywords:||alpha netbsd sigfpe fp|
On alpha (for at least the netbsd OS), our PARROT_FLOATVAL_INF_POSITIVE macro results in SIGFPE, which causes some failing tests.
he++ submitted a patch with two related fixes. The first is to catch SIGFPE properly and ignore it. That's done with a signal() call at parrot init time, but there's a little confusion about the right place to put that. That part of the patch is a work in progress.
The second fix is to use math.h defines for Inf/-Inf/NaN on alpha, rather than trying to calculate the values directly.