I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Talk:Set right-adjacent bits

From Rosetta Code

More Interesting Way[edit]

Copy the input to result, then for bits to set right shift input 1 and or with result.--Nigel Galloway (talk) 17:06, 20 December 2021 (UTC)

That's essentially the first two Python solutions or-ing the input shifted zero to n times. --Paddy3118 (talk) 18:48, 20 December 2021 (UTC)
Thanks for the warning, I'd better try something more interesting. I wouldn't like F# resembling Python.--Nigel Galloway (talk) 12:04, 21 December 2021 (UTC)
😀
--Paddy3118 (talk) 14:14, 21 December 2021 (UTC)