🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #1074

Re: Fun With Floats in Quintus

#1074
From: R. Kym Horsell
Date: Tue, 14 Aug 1990 00:57
10 lines
986 bytes
In article <EIVERSON.90Aug13174424@aigyptos.nmsu.edu> eiverson@nmsu.edu (Eric Iverson) writes:
>
>How oh how does one represent the numbers 8.1 and 5.4 in Quintus
>Prolog?  I have tried everything I can think of without any luck.

There are some real numbers which can't be represented in floating
point. The language (nor implementation) is not at fault. 
For example, try to write down the representation of 0.1 (decimal) in binary.

-Kym Horsell
Technical Details
Message-ID: <3829@bingvaxu.cc.binghamton.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!leah!bingvaxu!vu0310
References: <EIVERSON.90Aug13174424@aigyptos.nmsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!leah!bingvaxu!vu0310
From: vu0310@bingvaxu.cc.binghamton.edu (R. Kym Horsell)
Newsgroups: comp.lang.prolog
Subject: Re: Fun With Floats in Quintus
Message-ID: <3829@bingvaxu.cc.binghamton.edu>
Date: 14 Aug 90 00:57:21 GMT
References: <EIVERSON.90Aug13174424@aigyptos.nmsu.edu>
Reply-To: vu0310@bingvaxu.cc.binghamton.edu.cc.binghamton.edu (R. Kym Horsell)
Distribution: comp
Organization: SUNY Binghamton, NY
Lines: 10