[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken isnan(3) and/or DQNAN on Tru64

From: Bruno Haible
Subject: Re: Broken isnan(3) and/or DQNAN on Tru64
Date: Mon, 4 May 2009 01:19:14 +0200
User-agent: KMail/1.9.9

Ludovic Courtès wrote:
> on alpha*-linux-gnu, `-mieee' is apparently not needed:
> --8<---------------cut here---------------start------------->8---
> #include <math.h>
> int
> main (int argc, char *argv[])
> {
>   return isnan (NAN);
> }
> --8<---------------cut here---------------end--------------->8---

It's not needed for this particular program, but for overflow and
division by zero. Overflow and division by 0.0 lead to SIGFPE by default,
on alpha-*-* platforms.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]