Skip to content

std.mathspecial: Use isClose for gammaIncomplete(1,1) test#10984

Merged
ibuclaw merged 1 commit intodlang:stablefrom
ibuclaw:fix_mathspecial
Mar 31, 2026
Merged

std.mathspecial: Use isClose for gammaIncomplete(1,1) test#10984
ibuclaw merged 1 commit intodlang:stablefrom
ibuclaw:fix_mathspecial

Conversation

@ibuclaw
Copy link
Copy Markdown
Member

@ibuclaw ibuclaw commented Mar 31, 2026

Different targets will have subtle precision differences that will mean result is not identical with the last couple digits vs. statically computed result.

i.e:

runtime: 0.632120558828557678498
ctfe:    0.632120558828557678444

@dlang-bot
Copy link
Copy Markdown
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + phobos#10984"

@ibuclaw ibuclaw merged commit 66ce16a into dlang:stable Mar 31, 2026
10 checks passed
@ibuclaw ibuclaw deleted the fix_mathspecial branch March 31, 2026 19:56
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