From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!ossa.telenet-ops.be!nmaster.kpnqwest.net!nreader2.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: CMUCL18d on Alpha? References: <3CBA8472.48774F5C@ilt.fhg.de> <3CBBE1E6.93F85F44@ilt.fhg.de> <3CBBF4AC.39CD4A4C@kfunigraz.ac.at> <3CBE88D1.6A17BCE1@ilt.fhg.de> <3CBFBF03.31766207@ilt.fhg.de> <87g01r384r.fsf@nkapi.internal> <3228232604375936@naggum.net> <87k7r31mn5.fsf@nkapi.internal> <3228242118692057@naggum.net> <4nlmbfkgu2.fsf@rtp.ericsson.se> <0%Vw8.38252$%s3.16267967@typhoon.ne.ipsvc.net> <4n8z7fk7cz.fsf@rtp.ericsson.se> <4n662iijxw.fsf@rtp.ericsson.se> <3228572189632087@naggum.net> <4d6wqtcth.fsf@beta.franz.com> <47kmyt528.fsf@beta.franz.com> Mail-Copies-To: never From: Erik Naggum Message-ID: <3228603798508513@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 24 Apr 2002 02:23:19 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader2.kpnqwest.net 1019614999 193.71.199.50 (Wed, 24 Apr 2002 04:23:19 MET DST) NNTP-Posting-Date: Wed, 24 Apr 2002 04:23:19 MET DST Xref: archiver1.google.com comp.lang.lisp:32249 * "Joe Marshall" | (setq bar (double-float (* 4505798650626048 (expt 2 -105)))) | 1.1107651257113993d-16 The canonical way to get back to an floating point number from the integer-decode-float values is a lot simpler and less computationally intensive: (scale-float (float 1d0) ). In all likelihood, it is implemented with a simple hardware-supported conversion from large integer mantissa to large floating point value and adjusting the exponent rather than building a rational number out of two bignums on my way to the double-float. Interesting analysis. I doubt that the above has any influence, so I have not worked out whether it had. /// -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief. Post with compassion: http://home.chello.no/~xyzzy/kitten.jpg