stevenhalim / cpbook-code

CP4 Free Source Code Project (C++17, Java11, Python3 and OCaml)
2k stars 493 forks source link

func clear bit is wrong #109

Open wilmerkrisp opened 9 months ago

wilmerkrisp commented 9 months ago

https://github.com/stevenhalim/cpbook-code/blob/26fb7376417799f8b84b504d46ea7c8c0cf71c29/ch2/lineards/bit_manipulation.py#L9C1-L9C1

image