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
54a5246061
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