[GRASS5] Darwin r.fill.dir
Markus Neteler
neteler at geog.uni-hannover.de
Mon Jun 11 05:04:50 EDT 2001
Hi all,
On Mon, Jun 11, 2001 at 10:26:10AM +0700, Justin Hickey wrote:
> Hi Jeshua
>
> Jeshua Lacock wrote:
> > It appears to me a limitation of the math.h file installed with
> > Darwin.
> >
> > MAXDOUBLE is not defined, however there there is a MAXFLOAT defined.
> > Would it be safe to assign the same vaule to MAXDOUBLE?
> >
> > Additionally, MINFLOAT and MINDOUBLE have not been defined. Is there
> > a value that I could assign them?
>
> Since the math library is not part of the standard C library I would
> suggest that these constants be changed to those in float.h which is
> part of the standard library.
>
> Namely, DBL_MAX, DBL_MIN, FLT_MAX, and FLT_MIN would probably be better
> choices.
In CVS I have already changed these entries last week. So the current
r.fill.dir should compile well.
Cheers
Markus
More information about the grass-dev
mailing list