Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use math.Ln2 where possible #3383

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Use math.Ln2 where possible #3383

merged 1 commit into from
Sep 11, 2024

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Sep 11, 2024

Why this should be merged

Didn't know there was a constant in the stdlib for this.

Update: I apparently did know this... As we've used it before... But now we can use it everywhere!

How this works

Use the constant.

How this was tested

  • Existing unit tests

@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Sep 11, 2024
@StephenButtolph StephenButtolph added this to the v1.11.12 milestone Sep 11, 2024
@StephenButtolph StephenButtolph self-assigned this Sep 11, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Sep 11, 2024
Merged via the queue into master with commit a172154 Sep 11, 2024
20 of 21 checks passed
michaelkaplan13 pushed a commit that referenced this pull request Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants