This website requires JavaScript.
Explore
Help
Sign In
natty
/
calckey
Watch
1
Star
0
Fork
You've already forked calckey
0
Code
Issues
1
Pull Requests
Packages
Projects
Releases
Wiki
Activity
483f043768
calckey
/
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