Skip to content

Conversation

@WalterBright
Copy link
Member

When Integral is a long, it may exceed the precision of a double. So make the expression a real 0.0.

Blocking dlang/dmd#22270

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

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 "master + phobos#10914"

@WalterBright WalterBright merged commit 4985f5e into dlang:master Dec 21, 2025
9 of 10 checks passed
@WalterBright WalterBright deleted the convOverflow branch December 21, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants