public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Negativ maximum of float?
@ 2002-09-11 11:03 Sebastian Huber
  2002-09-11 11:36 ` bjorn rohde jensen
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Huber @ 2002-09-11 11:03 UTC (permalink / raw)
  To: gcc-help

Hello,
ist '-FLT_MAX' (from float.h) a save negative maxium of float?

Ciao

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Negativ maximum of float?
  2002-09-11 11:03 Negativ maximum of float? Sebastian Huber
@ 2002-09-11 11:36 ` bjorn rohde jensen
  0 siblings, 0 replies; 2+ messages in thread
From: bjorn rohde jensen @ 2002-09-11 11:36 UTC (permalink / raw)
  To: Sebastian Huber; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-11 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-11 11:03 Negativ maximum of float? Sebastian Huber
2002-09-11 11:36 ` bjorn rohde jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).