Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 20:35:11 -0400 (EDT)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Alex <garbanzo@hooked.net>
Cc:        current <current@FreeBSD.ORG>
Subject:   Re: MAXDOUBLE and values.h?
Message-ID:  <Pine.BSF.4.00.9808252034020.21807-100000@picnic.mat.net>
In-Reply-To: <Pine.BSF.4.00.9808251730470.825-100000@zippy.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 25 Aug 1998, Alex wrote:

> Ok, I've got a quick question.  I've got an app which uses MAXDOUBLE, and
> includes values.h to get at it.  values.h has a #warn that tells me it's
> depreciated. So I grep -R'd all the headers in /usr/include, and nothing
> else seemed to have a #define for MAXDOUBLE?  Is this a mistake, or should
> MAXDOUBLE be avoided?

#include <float.h>

MAXDOUBLE -> DBL_MAX

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

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (NetBSD).
----------------------------+-----------------------------------------------





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.9808252034020.21807-100000>