Hacker News new | ask | show | jobs
by base698 2671 days ago
Numerator, denominator?
3 comments

For 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).
This is not mathematically correct. Those names would be pretty misleading, actually.
Good luck with any bigger equation then