[GRASS5] Darwin r.fill.dir

Eric G. Miller egm2 at jps.net
Sun Jun 10 23:56:54 EDT 2001


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
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	    I don't think you meant to say that (maybe "those constants
	    are not a part of the ISO standard C math library" ?).
	    
> 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.

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-dev mailing list