Re: [Flightgear-devel] Re: finite

2005-05-07 Thread Durk Talsma
On Friday 06 May 2005 16:12, Martin Spott wrote: > Durk Talsma wrote: > > I would like to keep this check around a little longer, until I'm more > > convinced I got everything nailed down. If there are portability issues > > though, I don't see any strong reasons for keeping it. > > It's your decis

Re: [Flightgear-devel] Re: finite

2005-05-06 Thread Martin Spott
Durk Talsma wrote: > I would like to keep this check around a little longer, until I'm more > convinced I got everything nailed down. If there are portability issues > though, I don't see any strong reasons for keeping it. It's your decision. If you want to keep it, then let's add the Solaris w

Re: [Flightgear-devel] Re: finite

2005-05-06 Thread Andy Ross
Martin Spott wrote: > If there's no suitable replacement for 'finite' then I'd suggest the > following patch: Alternatively we can just use something like the following (untested) code. All modern CPUs (and certainly all the ones we support) use IEEE format for their floating point values. int f

Re: [Flightgear-devel] Re: finite

2005-05-06 Thread Durk Talsma
On Friday 06 May 2005 14:00, Martin Spott wrote: > Martin Spott wrote: > > foehn: 13:47:11 ~> man finite > > NAME > > isnan, isnand, isnanf, finite, fpclass, unordered - deter- > > mine type of floating-point number > > > > SYNOPSIS > > #include > > If there's no suitable replacem

Re: [Flightgear-devel] Re: finite

2005-05-06 Thread Martin Spott
Martin Spott wrote: > foehn: 13:47:11 ~> man finite > NAME > isnan, isnand, isnanf, finite, fpclass, unordered - deter- > mine type of floating-point number > > SYNOPSIS > #include If there's no suitable replacement for 'finite' then I'd suggest the following patch: --- FlightG

Re: [Flightgear-devel] Re: finite

2005-05-06 Thread Martin Spott
Melchior FRANZ wrote: > $ man finite > NAME >isinf, isnan, finite - test for infinity or not-a-number (NaN) > > SYNOPSIS >#include Ooops : foehn: 13:47:03 ~> uname -a SunOS foehn 5.8 Generic_117000-03 sun4m sparc foehn: 13:47:06 ~> find /usr/include/ -name math\.h /usr/incl

[Flightgear-devel] Re: finite

2005-05-06 Thread Melchior FRANZ
* Martin Spott -- Friday 06 May 2005 08:33: > where is 'finite' expected to be declared ? I don't find a matching > declaration on my Solaris box: $ man finite NAME isinf, isnan, finite - test for infinity or not-a-number (NaN) SYNOPSIS #include int isinf(double value);