This is the mail archive of the
cygwin
mailing list for the Cygwin project.
HUGE is missing in math.h
- From: Humberto Bortolossi <humberto dot bortolossi at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 26 Jun 2005 09:37:47 -0700
- Subject: HUGE is missing in math.h
- Reply-to: Humberto Bortolossi <humberto dot bortolossi at gmail dot com>
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/