Mail Archives: djgpp-workers/2003/02/25/20:18:19
Hello.
Eli Zaretskii wrote:
>
> > From: <ams AT ludd DOT luth DOT se>
> > Date: Mon, 24 Feb 2003 19:05:10 +0100 (CET)
> >
> > 1. What's that (the changing of HUGE_VAL) good for?
>
> It's not good, we should have only one definition. Prevously, only
> libm/math.h had it defined, but now we added it to stdlib.h as well.
I think you mean "math.h as well". But math.h has had HUGE_VAL for a while. Do
"cvs annotate" on it and you should see:
1.1 (dj 18-Nov-95): #define HUGE_VAL __dj_huge_val
NB: HUGE_VALF and HUGE_VALL are new for C99.
> > 3. Is it so that HUGE_VAL == INFINITY (which libm/math.h seems to
> > imply)?
>
> AFAICS, the two definitions are identical (the __infinity thing is
> misleading), but we should have only one, IMHO.
I agree.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -