*BSD News Article 24906


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!cs.utexas.edu!uunet!Germany.EU.net!cat-ufg.de!mailhost!bressler
From: bressler@cat-ufg.de (Stefan Bressler)
Subject: Re: Oleo ported to 386bsd
In-Reply-To: byron@ocf.nms.unt.edu's message of Fri, 10 Dec 1993 12:38:46 GMT
Message-ID: <BRESSLER.93Dec11171814@sola.cat-ufg.de>
Sender: news@cat-ufg.de
Nntp-Posting-Host: sola
Organization: CAT Computer Anwendungs-Technologie GmbH
References: <XyJ9Dc1w165w@oasys.pc.my> <1993Dec10.123846.29768@news.unt.edu>
Date: Sat, 11 Dec 1993 17:18:14 GMT
Lines: 24

In article <1993Dec10.123846.29768@news.unt.edu> byron@ocf.nms.unt.edu (Byron Goodman) writes:

   Thats funny.. I got Oleo off of gatekeeper:/GNU and it compiled with out 
   any warnings, errors or anything at least a month ago.   I'm running 
   FreeBSD.  You shouldnt have had to change anything.

Me too.  I use NetBSD 0.9.  However, I noticed the following bug: A
calculation that gives a result of exactly 0 displays "#INFINITY".

This is because oleo detects infinity by comparing against the result of
the division 1.0/0.0.  On NetBSD this division yields 0.0.  I am not sure
whether it is correct to use the result of a division by zero.  If it is
allowed, then the NetBSD math functions should be corrected.

BTW the floating point exception is switched off by oleo when the
division by zero is calculated.

Stefan
--
--
Computer Anwendungs-Technologie GmbH                  /   /   /   /
Münchner Straße 123                                  /   /   /   /
85774 Unterföhring, Germany                         / C / A / T / 
Phone: 49 89 995919-29, Fax: -30