www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <83d0063b0506260937400a44d3@mail.gmail.com> |
Date: | Sun, 26 Jun 2005 09:37:47 -0700 |
From: | Humberto Bortolossi <humberto DOT bortolossi AT gmail DOT com> |
Reply-To: | Humberto Bortolossi <humberto DOT bortolossi AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | HUGE is missing in math.h |
Mime-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j5QGbsSJ014776 |
Hi! I'm trying to port a C program written originally in Linux to the Microsoft Windows plataform. I've realized that math.h under cygwin doesn't define the macro HUGE, that is defined in the math.h under linux: /* Declarations for math functions. Copyright (C) 1991-1993,1995-1999,2001,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. */ /* SVID mode specifies returning this large value instead of infinity. */ # define HUGE 3.40282347e+38F I thought math.h should be quite portable ... Thanks! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |