By returning T.Magnitude instead of T, the gcd call never traps. This also allows the end user of the call to decide how to handle the result. PR: https://github.com/apple/swift-numerics/pull/310 (Also note that this is in preparation for lcm, which will be a separate PR.)