Skip to content

Conversation

@Scottbruceheart
Copy link
Collaborator

There isn't an advantage to using the previous algorithm.

@thecppzoo
Copy link
Owner

Please prove the claim there's no advantage to using the older mechanism, for all cases.

@Scottbruceheart
Copy link
Collaborator Author

I think there is an advantage for the msb_off version, though?

@Scottbruceheart
Copy link
Collaborator Author

I believe we also previously posted godbolt results for both that showed the general version of the constant compare (constantIsGreaterEqual) is more operations than the taocp impl.

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.

3 participants