[r6rs-discuss] fxarithmetic-shift

Michael Sperber sperber at informatik.uni-tuebingen.de
Wed Sep 19 03:02:12 EDT 2007


Abdulaziz Ghuloum <aghuloum at cs.indiana.edu> writes:

> On Sep 18, 2007, at 11:15 AM, Michael Sperber wrote:
>
>> I think it's worse, it needs to be
>>
>> (inexact->exact (floor (* fx1 (expt 2 fx2))))
>
> But floor would return an exact number when given an exact
> argument, no?

Ah, yes, I'd forgotten the exact regulations concerning the exactness of
expt's return value.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla



More information about the r6rs-discuss mailing list