Date: Tue, 25 Aug 1998 17:39:21 +0000 From: Mike Smith <mike@smith.net.au> To: Alex <garbanzo@hooked.net> Cc: current <current@FreeBSD.ORG> Subject: Re: MAXDOUBLE and values.h? Message-ID: <199808251739.RAA01034@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 25 Aug 1998 17:33:47 MST." <Pine.BSF.4.00.9808251730470.825-100000@zippy.dyn.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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? You should use <sys/limits.h>, and MAXDOUBLE will come out of the machine-specific headers in <machine/> -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com 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?199808251739.RAA01034>