1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 21:56:18 +02:00
This commit is contained in:
Aya Morisawa
2018-09-06 02:44:01 +09:00
committed by syuilo
parent e8948452fd
commit 1cc183ecdb
3 changed files with 4 additions and 3 deletions

3
src/prelude/math.ts Normal file
View File

@@ -0,0 +1,3 @@
export function gcd(a: number, b: number): number {
return b === 0 ? a : gcd(b, a % b);
}