Proposal: Remove Num superclass of Bits

Isaac Dupree ml at isaac.cedarswampstudios.org
Sun Oct 16 20:53:41 CEST 2011


On 10/16/2011 02:07 PM, Ian Lynagh wrote:
> I also just noticed the isSigned method. That seems a little odd,
> especially if the Num constraint is removed. Should we remove that
> method too?

It means "does right-shift when the highest bit is 1 put 1-bits or 
0-bits in the new high bit positions".  The odd name is because this is 
set up to correspond to signedness (so that right shift is the same as 
dividing by 2,4,8,etc.,rounding towards negative infinity).

-Isaac



More information about the Libraries mailing list