Chris Williams:

Yeah, several methods work just fine if you change their declaration to isIntegral!T || is(typeof(T) == BigInt). gcd() is one of them.

Unfortunately, I don't trust rewriting isIntegral, so this sort of change would need to be on a function-by-function basis.

Don explained me that a GCD on BigInts should use a more efficient algorithm.

Bye,
bearophile

Reply via email to