*BSD News Article 14491


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!ames!agate!howland.reston.ans.net!wupost!uunet!mcsun!Germany.EU.net!news.dfn.de!uni-muenster.de!chomsky!frido
From: frido@math.uni-muenster.de (Fridolf Budde)
Newsgroups: comp.os.386bsd.questions
Subject: Problems with g++2.3.3 and leda
Date: 15 Apr 1993 10:24:06 GMT
Organization: Westf. Wilh.-Universitaet Muenster, Germany.
Lines: 14
Distribution: world
Message-ID: <1qjd46$vc4@obelix.uni-muenster.de>
Reply-To: frido@math.uni-muenster.de
NNTP-Posting-Host: chomsky.uni-muenster.de
Keywords: g++2.3.3, leda

I tried to port the leda library (library of efficient data structures, a 
library used in computational geometry) and succeeded in compiling the libraries.
Unfortunately some programs don't work because of a floating point exception.
After debugging the programm with gdb I found that the line where the exception
happens seems quite harmless. It is a comparison of a double variable and zero
(double l; if (l==0) ...). gdb says that the value of l is in the range allowed 
for doubles.

Has anybody encountered similar problems or could give me a hint what could
cause this problems?

---
"Dipl.-Math. Friedrich Budde"