diff options
Diffstat (limited to 'src/client/app/common/scripts/gcd.ts')
| -rw-r--r-- | src/client/app/common/scripts/gcd.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/app/common/scripts/gcd.ts b/src/client/app/common/scripts/gcd.ts new file mode 100644 index 0000000000..9a19f9da66 --- /dev/null +++ b/src/client/app/common/scripts/gcd.ts @@ -0,0 +1,2 @@ +const gcd = (a, b) => !b ? a : gcd(b, a % b); +export default gcd; |