Article View: comp.lang.prolog
Article #1074Re: Fun With Floats in Quintus
From: R. Kym Horsell
Date: Tue, 14 Aug 1990 00:57
Date: Tue, 14 Aug 1990 00:57
10 lines
986 bytes
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!vu0310References:
<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