[plt-scheme] Exact/inexact behavior?

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Thu Nov 27 09:32:32 EST 2003

Matt wrote:

> Do we get the .0000000000000003 free in both cases? 

This is just the usual floating point noise, right?

Put differently, if I try it (suitably adapted) in Beginner Scheme,

> (+ 0.051 0.042
                0.042 0.048
                0.042 0.042
                1.193 0.042
                0.042 0.288
                1.762)
3.594

Your OS X calculator is similarly using exact rationals (in the form
of fixed-point numbers).

I guess I don't quite understand your question.

Shriram


Posted on the users mailing list.