equal
deleted
inserted
replaced
921 "Modified: / 8.7.1998 / 12:45:24 / cg" |
921 "Modified: / 8.7.1998 / 12:45:24 / cg" |
922 "Modified: / 5.5.1999 / 16:05:05 / stefan" |
922 "Modified: / 5.5.1999 / 16:05:05 / stefan" |
923 ! |
923 ! |
924 |
924 |
925 bitTest:anInteger |
925 bitTest:anInteger |
926 "return true, if the bitwise-and of the receiver and the argument, anInteger |
926 "return true, if any bit from aMask is set in the receiver. |
|
927 I.e. true, if the bitwise-AND of the receiver and the argument, anInteger |
927 is non-0, false otherwise. |
928 is non-0, false otherwise. |
928 This is a general and slow implementation, walking over the bytes of |
929 This is a general and slow implementation, walking over the bytes of |
929 the receiver and the argument." |
930 the receiver and the argument." |
930 |
931 |
931 |n "{ Class: SmallInteger }" |
932 |n "{ Class: SmallInteger }" |
2635 ! ! |
2636 ! ! |
2636 |
2637 |
2637 !Integer class methodsFor:'documentation'! |
2638 !Integer class methodsFor:'documentation'! |
2638 |
2639 |
2639 version |
2640 version |
2640 ^ '$Header: /cvs/stx/stx/libbasic/Integer.st,v 1.133 2000-08-03 17:48:01 cg Exp $' |
2641 ^ '$Header: /cvs/stx/stx/libbasic/Integer.st,v 1.134 2001-01-16 11:28:56 cg Exp $' |
2641 ! ! |
2642 ! ! |
2642 Integer initialize! |
2643 Integer initialize! |