yumechi-no-kuni/src/client/app/common/scripts/gcd.ts

3 lines
66 B
TypeScript
Raw Normal View History

2017-02-16 02:20:45 -06:00
const gcd = (a, b) => !b ? a : gcd(b, a % b);
2017-03-18 06:05:11 -05:00
export default gcd;