This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Negativ maximum of float?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]