[GRASS-SVN] r38656 - grass/trunk/raster/r.out.gdal

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 9 12:01:57 EDT 2009


Author: mmetz
Date: 2009-08-09 12:01:57 -0400 (Sun, 09 Aug 2009)
New Revision: 38656

Modified:
   grass/trunk/raster/r.out.gdal/local_proto.h
Log:
do not cast DBL_MAX to float

Modified: grass/trunk/raster/r.out.gdal/local_proto.h
===================================================================
--- grass/trunk/raster/r.out.gdal/local_proto.h	2009-08-09 15:58:48 UTC (rev 38655)
+++ grass/trunk/raster/r.out.gdal/local_proto.h	2009-08-09 16:01:57 UTC (rev 38656)
@@ -47,8 +47,8 @@
 #define TYPE_FLOAT64_MIN	(-MAXDOUBLE)
 #define TYPE_FLOAT64_MAX	MAXDOUBLE
 #else
-#define TYPE_FLOAT64_MIN	-1.79E308f
-#define TYPE_FLOAT64_MAX	1.79E308f
+#define TYPE_FLOAT64_MIN	-1.79E308
+#define TYPE_FLOAT64_MAX	1.79E308
 #endif
 
 #define GRASS_MAX_COLORS TYPE_UINT16_MAX    /* ok? */



More information about the grass-commit mailing list