Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 21:20:26 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Mike Smith <mike@smith.net.au>
Cc:        Alex <garbanzo@hooked.net>, current <current@FreeBSD.ORG>
Subject:   Re: MAXDOUBLE and values.h? 
Message-ID:  <199808260120.VAA03694@khavrinen.lcs.mit.edu>
In-Reply-To: <199808251739.RAA01034@dingo.cdrom.com>
References:  <Pine.BSF.4.00.9808251730470.825-100000@zippy.dyn.ml.org> <199808251739.RAA01034@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 25 Aug 1998 17:39:21 +0000, Mike Smith <mike@smith.net.au> said:

> You should use <sys/limits.h>, and MAXDOUBLE will come out of the 
> machine-specific headers in <machine/>

<style lang="en" variant="bde">
No.  The header file you mentioned is called <limits.h>, but it is
for integer limits only.  Floating-point limits are located in
<float.h>, where `MAXDOUBLE' is spelled `DBL_MAX'.
</style>

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808260120.VAA03694>