🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99875

float package problems

#99875
From: macrakis
Date: Thu, 26 Apr 1990 15:27
16 lines
1167 bytes
GNU Emacs 18.53.11 of Mon Jul 24 1989 on kodak (berkeley-unix)

The float.el package, although useful, should be used with care.  For
instance, I noticed in reading the code that it doesn't try to give
rounded answers.

It also has some pretty flagrant bugs.  For instance:

1.0 - 2.0e-7 -> 0.1

(float-to-string (f- (string-to-float "1.0") (string-to-float "2.0e-7")))
"0.1000000"	(bug in float-to-string)

v19 will apparently use hardware floating point, so there's not much
point in fixing float.el.  But I thought I'd report the problems for
the record.
Technical Details
Message-ID: <9004261602.AA15500@.dupuis.>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ri.osf.fr!macrakis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,e01c4c8fa65f54ba,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-04-26 08:27:27 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ri.osf.fr!macrakis
From: macrakis@ri.osf.fr
Newsgroups: gnu.emacs.bug
Subject: float package problems
Message-ID: <9004261602.AA15500@.dupuis.>
Date: 26 Apr 90 15:27:27 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 16
Posted: Thu Apr 26 16:27:27 1990
X-Unparsable-Date: Thu, 26 Apr 90 17:04:28 GMT+0100