Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Reply-To: From: "Norman Vine" To: Subject: RE: gcc: HUGE_VAL is tiny Date: Thu, 20 Jul 2000 18:05:29 -0400 Message-ID: <000001bff296$b68a5b00$f336ba8c@nhv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 Importance: Normal In-Reply-To: <200007202032.QAA32433@envy.delorie.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 DJ Delorie writes: > > >> 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; > ^^^^^^^^^^^^^^^^^^^^^ That works for me :-) Thanks Norman Vine -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com