"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> *) Change where NaN is generated. Using 0.0/0.0 doesn't work in VC++
> because it detects it as a divide-by-zero at the compile stage.
If they're going to be that anally uncooperative, why don't they have
the required-by-C99-spec macro for NAN? Or at least some well-defined
way to generate a NaN?
regards, tom lane