[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DINFINITY alpha not gnu/linux
From: |
Kevin Ryde |
Subject: |
Re: DINFINITY alpha not gnu/linux |
Date: |
Tue, 17 Feb 2004 09:06:49 +1000 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
"John W. Eaton" <address@hidden> writes:
>
> #if defined (SCO)
> volatile double tmp = 1.0;
> tmp_inf = 1.0 / (tmp - tmp);
This is not really sco specific is it? I'd guess anywhere with a
working "volatile" and overflow exceptions masked would be ok.
> to define Inf, but there may be better ways to do this.
C99 INFINITY is probably good, when available.