delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/05/02:42:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <004a01c076e3$02ad75f0$9865fea9@timayum4srqln4>
From: "Tim Prince" <tprince AT computer DOT org>
To: "Robinow, David" <drobinow AT dayton DOT adroit DOT com>, <cygwin AT cygwin DOT com>
References: <80575AFA5F0DD31197CE00805F650D7602CE47 AT wilber DOT adroit DOT com>
Subject: Re: values.h / 2
Date: Thu, 4 Jan 2001 22:44:49 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

----- Original Message -----
From: "Robinow, David" <drobinow AT dayton DOT adroit DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, January 04, 2001 9:29 AM
Subject: RE: values.h / 2


> > Is it possible, to include a regular values.h in cygwin?
>  I suggest you use DBL_MIN and DBL_MAX from float.h
>
>  I'm not familiar with the various standards
>  controlling this sort of thing, but I'm guessing
>  that values.h can be considered obsolete
>
As others have said, obsolete since the advent of C89.

>  for cygwin  float.h  defines DBL_MIN and DBL_MAX
>
>  My Irix has both float.h and values.h and
>  DBL_MIN = MINDOUBLE
>
>  but my SunOS 5.6 has (I find this strange)
>  DBL_MIN = 2/225073858072014E-308 and
>  MINDOUBLE = 4.94065645841246544e-324

Several versions of Irix omitted support for gradual underflow; thus there
would be no non-zero number less than DBL_MIN.  SunOS presumably defaults to
supporting gradual underflow; thus the smallest non-zero would be DBL_MIN *
DBL_EPSILON.  In either case, DBL_MIN would be the smallest number
represented without loss of precision.  I'm not too thrilled at the
possibilities opened for revisiting these behaviors by setting precision
mode and abrupt underflow on IA32 processors.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019