Skip to content

Conversation

isidroas
Copy link
Contributor

  • Change meaning of p argument
  • refactor setbits()

Previusly: counted from the right of n

	xxx..xnnnnx..xxx
		 p     0

Now: counted from the left of n (like the book)

	xxx..xnnnnx..xxx
	      p        0
@isidroas
Copy link
Contributor Author

If you agree to change the meaning of p, we should also change the examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant