[r6rs-discuss] fxarithmetic-shift

From: Michael Sperber <sperber>
Date: Wed, 19 Sep 2007 09:02:12 +0200

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
Received on Wed Sep 19 2007 - 03:02:12 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC