[r6rs-discuss] fxcopy-bit
The documents says:
The fxcopy-bit procedure returns the result of replacing the
fx_2^{th} bit of fx_1 by the fx_2^{th} bit of fx_3.
It should say the following instead:
The fxcopy-bit procedure returns the result of replacing the
fx_2^{th} bit of fx_1 by the value of fx_3.
Or, if the intention is to actually copy the fx_2^{th} bit,
then the restriction on the value of fx_3 should be removed and
the reference code changed to:
(let ([mask (fxarithmetic-shift-left 1 fx2)])
(fxif mask fx3 fx1))
Aziz,,,
PS: Is there a set time for when we should stop posting these
bug reports?
Received on Sat Sep 15 2007 - 03:44:29 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:01 UTC