*BSD News Article 7147


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!mcsun!sunic!chalmers.se!news.chalmers.se!me.chalmers.se!dana
From: dana@me.chalmers.se (Dan Andersson)
Newsgroups: comp.unix.bsd
Subject: Bug in /usr/include/math.h ?
Message-ID: <BwtuJM.8sv@news.chalmers.se>
Date: 28 Oct 92 10:30:57 GMT
Sender: news@news.chalmers.se
Organization: Chalmers University of Technology
Lines: 14
Nntp-Posting-Host: theta.me.chalmers.se



I noticed that the value of the HUGE and HUGE_VAL constants in
/usr/include/math.h returns an error in compilation. When any program use
the HUGE or HUGE_VAL constant it stops to compile an yells about to big 
numerical value.
I discovered this when porting Utah Raster Toolit to 386bsd. After a dirty fix,
merely a workaround, i got urt up and running.

Have anyone else discovered something regarding this seldom used constant.
Is it a bug? If so, is it corrected in the coming 0.2 version of 386bsd.

Dan Andersson