Talk:Find first and last set bit of a long integer: Difference between revisions
Content added Content deleted
(→Errors: Talk about the numeric model of Tcl) |
m (→More Clarification "set bit": what set means) |
||
Line 6: | Line 6: | ||
: I can't believe I forgot the zero! --[[User:Dgamey|Dgamey]] 03:06, 9 December 2011 (UTC) |
: I can't believe I forgot the zero! --[[User:Dgamey|Dgamey]] 03:06, 9 December 2011 (UTC) |
||
: Well, you need to realize that it's an Algol zero, which can be anything you want really. --[[User:Ledrug|Ledrug]] 03:20, 9 December 2011 (UTC) |
: Well, you need to realize that it's an Algol zero, which can be anything you want really. --[[User:Ledrug|Ledrug]] 03:20, 9 December 2011 (UTC) |
||
:: (hrrmmmph ... depends if its a man or boy compiler then does it) I would expect that 'set bit' should be defined. If it means a bit that is set to one then the example makes no sense. If it means set to zero, well then it does. But someone needs to say. --[[User:Dgamey|Dgamey]] 03:44, 9 December 2011 (UTC) |
|||
Can you clarify? For it would be an interesting aside to see a host code sample that is not for [[wp:Two's complement|Two's complement]]. [[User:NevilleDNZ|NevilleDNZ]] 04:39, 8 December 2011 (UTC) |
Can you clarify? For it would be an interesting aside to see a host code sample that is not for [[wp:Two's complement|Two's complement]]. [[User:NevilleDNZ|NevilleDNZ]] 04:39, 8 December 2011 (UTC) |