Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 18:32:43 -0700 (PDT)
From:      Alex <garbanzo@hooked.net>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Mike Smith <mike@smith.net.au>, current <current@FreeBSD.ORG>
Subject:   Re: MAXDOUBLE and values.h? 
Message-ID:  <Pine.BSF.4.00.9808251831550.825-100000@zippy.dyn.ml.org>
In-Reply-To: <199808260120.VAA03694@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Aug 1998, Garrett Wollman wrote:

> <<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>

Ahh.  Is DBL_MAX a portable thing?  Like, can I assume it complies to some
obscure ANSI, POSIX or Linux standard?  Or should I use another FreeBSD
ifdef?

- alex

| "Contrary to popular belief, penguins are not the salvation of modern  |
| technology.  Neither do they throw parties for the urban proletariat." |
| Powered by FreeBSD                            http://www.freebsd.org/  |


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?Pine.BSF.4.00.9808251831550.825-100000>