tech-pkg archive

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

Re: Darned VAX NaNs...



On Wed, Mar 24, 2010 at 06:45:16PM +0000, John Klos wrote:
> It seems that the code is trying to define these things the nonportable 
> way:

In case it isn't clear: NAN and +/- infinity only make sense if you are
using IEEE754 floating point format - which vax just does not do.

Ifdef out all code referencing those statics, the code paths will never
be used on vax. See src/gnu/dist/gcc4/gcc/libgcc2.c for examples
(especially the define for INFINITY and ifdefs using it).

Martin


Home | Main Index | Thread Index | Old Index