Re: Where in the debian's gcc is defined the FLT_MAX constant?
On Thu, Nov 04, 1999 at 01:25:22PM +0100, Wojciech Zabolotny wrote:
> Hi All,
> I'm just trying to compile the "snns" program, which uses the MAXFLOAT
> constant. The maxfloat is defined in the /usr/include/math.h as:
> #define MAXFLOAT FLT_MAX
> However the FLT_MAX is not defined at all...
> Probably it should be defined in the float.h file, but there is no such file
> in my debian system :-(
> Is my system damaged?
[collinbm@virtue(10:40am)-~]%grep FLT_MAX /usr/lib/gcc-lib/i386-linux/2.95.2/include/float.h
#define FLT_MAX_EXP 128
#define FLT_MAX 3.40282347e+38F
#define FLT_MAX_10_EXP 38
It should work because math.h seems to include float.h.