🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12396

Re: Manx 3.6 bug & DBW's ext.c

#12396
From: Warren Burnett
Date: Wed, 26 Apr 1989 18:36
33 lines
1756 bytes
In article <2185@pur-phy> murphy@pur-phy (William J. Murphy) writes:

>#define	    HUGE	    ((float)1.7e+38)
.......
>    cv(-HUGE,-HUGE,-HUGE,re->max);
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>I downloaded the dbw.zoo from bach.berkeley.eduand was trying to compile
>the sources for the Amiga with Manx 3.6a and came across an error 205
>which reads
>
>  cv(HUGE, HUGE, HUGE, re->min);
>                                ^
>ext.c: ### : ERROR 205: :
>Overflow converting to FFP format!
>
..........
>My question is this,  I am sure that someone else has compiled this
>program, Have you seen this error?

Yes, I got the same error when I tried to compile it.  I believe that changing
the #define so that HUGE is 1.7e+18 will allow it to compile.  The program
seems to work correctly with this change, but I haven't tested it extensively.

Does anyone know if this is in fact a problem with the compiler?  There is
a #define in the include file math.h for something called HUGE_VAL, or 
something like that;  As I remember,  it is something like 1.79e+308.  
Ray would not compile using this either (resulted in same error).  
Does anyone know if this is a real problem or just something weird about
the DBW source?

				Warren Burnett
				warren@wucs1.wustl.edu
Technical Details
Message-ID: <829@wucs1.wustl.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wucs1!warren
References: <2185@pur-phy>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wucs1!warren
From: warren@wucs1.wustl.edu (Warren Burnett)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Manx 3.6 bug & DBW's ext.c
Summary: a kludge to make it work
Keywords: Overflow converting to FFP format!
Message-ID: <829@wucs1.wustl.edu>
Date: 26 Apr 89 18:36:14 GMT
References: <2185@pur-phy>
Reply-To: warren@wucs1.UUCP (Warren Burnett)
Distribution: na
Organization: Washington University, St. Louis, MO
Lines: 33