Re: Need help Accessing a NAN

2002-01-14 Thread norm
[EMAIL PROTECTED] writes: >Under Linux I do: > >include >... >reciprocal=NAN; > > >When I try to compile this under cygwin, gcc complains that NAN is undefined. > >Under cygwin, "man nan", tells me about a function named nan(), also using math.h. >When I try to use it, gcc complains about an impl

Need help Accessing a NAN

2002-01-14 Thread norm
Under Linux I do: include ... reciprocal=NAN; When I try to compile this under cygwin, gcc complains that NAN is undefined. Under cygwin, "man nan", tells me about a function named nan(), also using math.h. When I try to use it, gcc complains about an implicit declaration of nan(). I