Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 9 Jun 2000 11:07:17 -0400 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: [ruediger DOT franke AT de DOT abb DOT com: 1.1.0: wrong negative HUGE_VAL] Message-ID: <20000609110717.C20405@cygnus.com> Mail-Followup-To: cygwin-developers AT sourceware DOT cygnus DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Anyone know anything about HUGE_VAL? cgf ----- Forwarded message from ruediger DOT franke AT de DOT abb DOT com ----- From: ruediger DOT franke AT de DOT abb DOT com To: cygwin AT sourceware DOT cygnus DOT com Subject: 1.1.0: wrong negative HUGE_VAL Date: Fri, 9 Jun 2000 16:43:14 +0100 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 #include 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) ----- End forwarded message -----