On Sunday 27 May 2007, Francois Gouget wrote:
> On Sun, 27 May 2007, Marcus Meissner wrote:
> [...]
>
> > Why doesn't the code try using the INFINITY and NAN #defines?
> > Would this help with Visual C++?
>
> Do you mean the INFINITY macro defined in /usr/include/bits/inf.h?
> (which one gets throu
On Sun, 27 May 2007, Marcus Meissner wrote:
[...]
> Why doesn't the code try using the INFINITY and NAN #defines?
> Would this help with Visual C++?
Do you mean the INFINITY macro defined in /usr/include/bits/inf.h?
(which one gets through math.h)
I have not found any macro called INFINITY in th
On Sun, May 27, 2007 at 01:17:23PM +0200, Francois Gouget wrote:
>
> Visual C++ 2005 does not like the way we compute the infinity and NaN
> values. I've tried replacing the current divisions by zero with
> arithmetic on FLT_MAX (at least for the infinity calculations), but it
> did not like th
Am Sonntag 27 Mai 2007 13:17 schrieb Francois Gouget:
> Visual C++ 2005 does not like the way we compute the infinity and NaN
> values. I've tried replacing the current divisions by zero with
> arithmetic on FLT_MAX (at least for the infinity calculations), but it
> did not like that either.
>
> Do
Visual C++ 2005 does not like the way we compute the infinity and NaN
values. I've tried replacing the current divisions by zero with
arithmetic on FLT_MAX (at least for the infinity calculations), but it
did not like that either.
Does anyone know how to make these calculations portable?
How d