[racket] Question about round

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Thu Sep 29 17:20:13 EDT 2011

#i42 is an inexact integer, there's noting notable about them.

43.0 is another one.

Cheers


2011/9/29, Mark Engelberg <mark.engelberg at gmail.com>:
> I'm a bit baffled by this behavior:
>
>> (exact? (round (sin 30)))
> #f
>> (integer? (round (sin 30)))
> #t
>>
>
> How is it possible to have an inexact integer?
>
> I would expect the answer to both of these tests to be true.
>
> Thanks,
>
> Mark
>

-- 
Inviato dal mio dispositivo mobile


Posted on the users mailing list.