Path: 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: Reply-To: vu0310@bingvaxu.cc.binghamton.edu.cc.binghamton.edu (R. Kym Horsell) Distribution: comp Organization: SUNY Binghamton, NY Lines: 10 In article 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