https://issues.dlang.org/show_bug.cgi?id=18434
--- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/fb66d07b769111664d648b5d4eb0a96d8c3e3101 Fix issue 18434: gcd(BigInt(0), BigInt(1)) fails The special cases of `gcd(0,a)` and `gcd(a,0)` are not handled correctly when `BigInt`s are involved. https://github.com/dlang/phobos/commit/ffc96fd90dceb753b5066ca09524caa5fb1f3ffa Merge pull request #6170 from quickfur/issue18434 Fix issue 18434: gcd(BigInt(0), BigInt(1)) fails merged-on-behalf-of: Jack Stouffer <j...@jackstouffer.com> --