delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/09/11:39:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <002101bfd228$05188100$0100000a@TIMYX18EWDT6RQ>
From: "Tim Prince" <tprince AT computer DOT org>
To: <ruediger DOT franke AT de DOT abb DOT com>, <cygwin AT sourceware DOT cygnus DOT com>
References: <C12568F9 DOT 00508A7F DOT 00 AT abb-despk-smtp DOT deinf DOT abb DOT de>
Subject: Re: 1.1.0: wrong negative HUGE_VAL
Date: Fri, 9 Jun 2000 08:32:57 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.5600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600

FWIW, I reproduce this problem here.

----- Original Message -----
From: <ruediger DOT franke AT de DOT abb DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Sent: Friday, June 09, 2000 8:43 AM
Subject: 1.1.0: wrong negative HUGE_VAL


>
>
> Hi,
>
> yesterday I installed cygwin using setup and internet download from
> ftp.sunet.se. Unfortunately my programs developed under B20 don't run
anymore
> properly.
>      The problem is that HUGE_VAL contains the wrong negative value
> -6.59614e-229. The following test program reproduces my probelm:
>
> #include <math.h>
> #include <stdio.h>
>
> int main()
> {
>   printf("HUGE_VAL is: %g\n", HUGE_VAL);
>   printf(" 1.0/0.0 is: %g\n", 1.0/0.0);
> }
>
> Compiled under 1.1.0, the program produces (using gcc or g++):
> HUGE_VAL is: -6.59614e-229
>  1.0/0.0 is: Inf
>
> Compiled under B20, it produces the same output when using gcc, but
with g++ the
>  result is as expected:
> HUGE_VAL is: Inf
>  1.0/0.0 is: Inf
>
> Can you help?
> Ruediger
>
> P.S. here is the output of cygcheck:
> (See attached file: cygcheck.out)
>


------------------------------------------------------------------------
--------


> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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