tech-pkg archive

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

Re: Darned VAX NaNs...

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).

The assignments above the broken ones should work then:

  static DOUBLE zero = L_(0.0);
  memory_double nan;
  DOUBLE plus_inf = L_(1.0) / L_(0.0);
  DOUBLE minus_inf = -L_(1.0) / L_(0.0);
  nan.value = zero / zero;

Any problems with just making the package compile happily by using these?


Home | Main Index | Thread Index | Old Index