| 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 |
| Date: | Thu, 20 Jul 2000 16:32:39 -0400 |
| Message-Id: | <200007202032.QAA32433@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | kabal AT ece DOT mcgill DOT ca |
| CC: | cygwin AT sources DOT redhat DOT com |
| In-reply-to: | <NBBBLLFBIFMBFFKCDPGFGEHJCIAA.kabal@ECE.McGill.CA> |
| Subject: | Re: gcc: HUGE_VAL is tiny |
| References: | <NBBBLLFBIFMBFFKCDPGFGEHJCIAA DOT kabal AT ECE DOT McGill DOT CA> |
> The value of HUGE_VAL (from math.h) should be infinite or large.
> Instead it is negative and tiny.
Actually, it's a pointer to a function.
It looks like __infinity is being improperly exported by cygwin1.dll,
and not being properly imported by your application. I'll look into
it, unless you want to ;-)
Try changing math.h to be like this for now:
extern __declspec(dllimport) const union __dmath __infinity;
^^^^^^^^^^^^^^^^^^^^^
--
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 |