*BSD News Article 54405


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!EU.net!Norway.EU.net!nntp.uio.no!nac.no!ifi.uio.no!news.sics.se!eua.ericsson.se!cnn.exu.ericsson.se!news
From: exushml@exu.ericsson.se (Shyamal Prasad)
Newsgroups: comp.unix.bsd.freebsd.misc,gnu.emacs.help
Subject: Re: Floating point arithmetic in ELisp.
Date: 03 Nov 1995 15:41:03 GMT
Organization: Ericsson Network Systems
Lines: 24
Message-ID: <EXUSHML.95Nov3094103@s10b06.exu.ericsson.se>
References: <47ae1c$68e@blackice.winternet.com>
NNTP-Posting-Host: s10b06.exu.ericsson.se
In-reply-to: jdb@robigo.winternet.com's message of 2 Nov 1995 12:37:00 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:8503 gnu.emacs.help:29728

In article <47ae1c$68e@blackice.winternet.com> jdb@robigo.winternet.com (John D. Boggs) writes:

    "John" == John D Boggs <jdb@robigo.winternet.com> writes:

    John> I am teaching myself LISP using the lisp interaction mode in
    John> Emacs, and it doesn't seem to like floating point
    John> arithmetic.  For instance, the expression (+ 3.14 2.71)
    John> returns 5.8499999999999996.  I was curious, is this typical
    John> of Emacs 19.29, or is it a result of running under
    John> FreeBSD-2.0.5-950622-SNAP?  I don't foresee needing floating
    John> point with what I have in mind, but you never know ...

I get 3.85 on XEmacs 19.13 on SunOS (I'm not sure what version).

Sorry, can't help more.

Cheers!
Shyamal
-- 
"Washing and Bathing in the crocodile infested river is prohibited. 
Survivors will be prosecuted." 
	- Sign in the Mudumalai Wildlife Sanctuary, Tamil Nadu, India.

I speak for me, only me, and just me......