@toolsnap/math-utils
v1.0.0
Published
Math utility functions - GCD, LCM, prime, factorial, permutations
Maintainers
Readme
@toolsnap/math-utils
Math utility functions.
Installation
npm install @toolsnap/math-utilsUsage
const {gcd, lcm, isPrime, factorial, combination, fibonacci} = require('@toolsnap/math-utils');
gcd(12, 8) // 4
lcm(4, 6) // 12
isPrime(17) // true
factorial(5) // 120
combination(10, 3) // 120
fibonacci(10) // 55🔗 More tools at risetop.top
License
MIT
