🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.scheme.c
Article #37

Re: IEEE-proof float unparsing

#37
From: Max Hailperin
Date: Sun, 17 Sep 1989 22:27
7 lines
749 bytes
I'm embarrassed to say that the finite? routine in my posting is rather
suboptimal.  It's the way it is for obscure historical reasons.  A
much nicer version follows:

(define (finite? x)
  (not (NaN? (- x x))))
Technical Details
Message-ID: <11830@polya.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!shelby!polya!Neon.Stanford.EDU!max
References: <11808@polya.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!shelby!polya!Neon.Stanford.EDU!max
From: max@Neon.Stanford.EDU (Max Hailperin)
Newsgroups: comp.lang.scheme.c
Subject: Re: IEEE-proof float unparsing
Message-ID: <11830@polya.Stanford.EDU>
Date: 17 Sep 89 22:27:56 GMT
References: <11808@polya.Stanford.EDU>
Sender: USENET News System <news@Polya.Stanford.EDU>
Reply-To: mxh@sumex-aim.Stanford.EDU (Max Hailperin)
Organization: Stanford University, Computer Science Dept.
Lines: 7