Talk:Find first and last set bit of a long integer: Difference between revisions

Line 9:
::: Er sorry, I was just poking fun at Algol. The "0 with a set bit" was more likely evidence that stuff were not thought through when the task was posted, as can be seen in the whole page of discussion below. Set bit of course means 1 here, and the task is now changed to number bits from 0 up, where the Algol example currently show integer 0 as having set bit at position -1, which is sensible, so I guess this issue is no more. --[[User:Ledrug|Ledrug]] 03:57, 9 December 2011 (UTC)
:::: Shouldn't it be marked incorrect then? --[[User:Dgamey|Dgamey]] 04:29, 9 December 2011 (UTC)
::::: Which part? The line you quoted above no longer exists, and the current Algol implementation, though inconsistent in my opinion, isn't exactly incorrect (the task description isn't clear on some issues). What do you have in mind? --[[User:Ledrug|Ledrug]] 04:53, 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)
Anonymous user