This website requires JavaScript.
Explore
Help
Sign In
natty
/
calckey
Watch
1
Star
0
Fork
You've already forked calckey
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
0abe2dfee0
calckey
/
packages
/
backend
/
src
/
prelude
/
math.ts
4 lines
91 B
TypeScript
Raw
Blame
History
export
function
gcd
(
a
:
number
,
b
:
number
)
:
number
{
return
b
===
0
?
a
:
gcd
(
b
,
a
%
b
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink