This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Negativ maximum of float?
- From: bjorn rohde jensen <bjensen at fastmail dot fm>
- To: Sebastian Huber <sebastian-huber at web dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 11 Sep 2002 20:36:43 +0200
- Subject: Re: Negativ maximum of float?
- References: <200209112003.17833.sebastian-huber@web.de>
- Reply-to: bjensen at fastmail dot fm
Hi Sebastian,
I believe, the IEEE standard for the binary representation of
floating point numbers uses a single sign bit to tell negative
and positive values apart, so -FLT_MAX ought to be safe bet
for the largest negative number representable by a float on your
system.
Yours sincerely,
Bjorn