pkgsrc-Users archive

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

Re: New pkg geography/viking



On Tue, 17 Feb 2009 19:42:01 -0500
Greg Troxel <gdt%ir.bbn.com@localhost> wrote:

> The real question is what C99 says about the use of NAN and if it's
> required to be a constant - that will determine if viking or NetBSD is
> wrong :-)
"Checking the standards" was my next step debugging this.
Thanks for answering this question beforehand. :-)

> Section 7.12 part 5 says that NAN is a macro expanding to a constant
> of type float that is a quiet NaN.  So the original code is legit and
> NetBSD is buggy, I think.
I'll file a PR...
-- 


tschüß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/



Home | Main Index | Thread Index | Old Index