16 ms·
What would be the signature of your gcd function ?
by apoorvgarg 8y ago
What would be the signature of your gcd function ?
- base698 8y agoNumerator, denominator?
- coldtea 8y agoGood luck with any bigger equation then
- mrgriffin 8y agoFor GCD? I would find those names very misleading since semantically the order of the arguments to GCD is irrelevant (even if in the implementation you typically mod by b there's no reason you couldn't mod by a).
- sacado2 8y agoThis is not mathematically correct. Those names would be pretty misleading, actually.