[racket] What is inexactness about?

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Wed Sep 1 09:24:22 EDT 2010

On Sep 1, 2010, at 9:14 AM, I wrote:

> The "#i" indicates that a number is inexact, and that further computation based on it should be interpreted accordingly.  The Scheme/Racket numeric libraries automatically mark as "inexact" most results of trig, exponential, log, sqrt, and similar functions, even if the inputs were exact, because the mathematically correct answers to these are irrational and don't have exact representations in any common, convenient computer representation.  Likewise, 

A sentence got cut off here, saying that the predefined constants pi and e are marked as inexact.



Stephen Bloch
sbloch at adelphi.edu



Posted on the users mailing list.