[GRASS5] Darwin r.fill.dir

Justin Hickey jhickey at hpcc.nectec.or.th
Sun Jun 10 23:26:10 EDT 2001


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.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================



More information about the grass-dev mailing list