[racket] What is inexactness about?

From: Richard Cleis (rcleis at mac.com)
Date: Wed Sep 1 09:50:08 EDT 2010

On Sep 1, 2010, at 7:40 AM, Stephen Bloch wrote:

> On Sep 1, 2010, at 9:29 AM, Matthias Felleisen wrote:
> 
>> The #i indicates inexactness as far as computer arithmetic is concerned, that is, what the so-called 'machine' level arithmetic supplies.
> 
> And yet Scheme/Racket allows for inexact integers, whereas no computer I know of has an inexact integer type supported at the machine level.

Don't forget some fun stuff (for which there are sound reasons):

> (inexact? (sin 0))
#f
> (inexact? (sin 0.0))
#t
> 

rac

> 
> 
> Stephen Bloch
> sbloch at adelphi.edu
> 
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.