delorie.com/archives/browse.cgi | search |
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 |
From: | "Peter Kabal" <kabal AT ece DOT mcgill DOT ca> |
To: | <cygwin AT sources DOT redhat DOT com> |
Subject: | gcc: HUGE_VAL is tiny |
Date: | Thu, 20 Jul 2000 16:15:47 -0400 |
Message-ID: | <NBBBLLFBIFMBFFKCDPGFGEHJCIAA.kabal@ECE.McGill.CA> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6700 |
gcc 2.95.2 running under Cygwin 1.1.2 The value of HUGE_VAL (from math.h) should be infinite or large. Instead it is negative and tiny. Test program: ============================ tHUGE_VAL.c #include <math.h> #include <stdio.h> int main (int argc, const char *argv[]) { printf ("HUGE_VAL = %g\n", HUGE_VAL); return 0; } ============================== >> gcc tHUGE_VAL.c -o tHUGE_VAL >>./tHUGE_VAL HUGE_VAL = -6.59614e-229 There seems to be a problem here - hope its not just me. Peter Kabal Kabal AT ECE DOT McGill DOT CA (514) 398-7130 Electrical & Computer Engineering (514) 398-4470 (FAX) McGill University 3480 University, Montreal, Quebec, Canada H3A 2A7 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |