Mail Archives: djgpp-workers/2003/02/26/10:48:45
Eli said:
> > 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.
>
> > 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.
Is libc.a guaranteed to be supplied after libm.a if -lm is given on
the command line? If so I propose to remove __infinity from libm.a and
changing the header file to use libc.a's __dj_huge_val.
Will that work or is there some dark magic about the libm __infinity?
Right,
MartinS
- Raw text -