X\choro 48f1b97cc3 first commit 10 bulan lalu
..
.github 48f1b97cc3 first commit 10 bulan lalu
constants 48f1b97cc3 first commit 10 bulan lalu
test 48f1b97cc3 first commit 10 bulan lalu
.eslintrc 48f1b97cc3 first commit 10 bulan lalu
CHANGELOG.md 48f1b97cc3 first commit 10 bulan lalu
LICENSE 48f1b97cc3 first commit 10 bulan lalu
README.md 48f1b97cc3 first commit 10 bulan lalu
abs.d.ts 48f1b97cc3 first commit 10 bulan lalu
abs.js 48f1b97cc3 first commit 10 bulan lalu
floor.d.ts 48f1b97cc3 first commit 10 bulan lalu
floor.js 48f1b97cc3 first commit 10 bulan lalu
isFinite.d.ts 48f1b97cc3 first commit 10 bulan lalu
isFinite.js 48f1b97cc3 first commit 10 bulan lalu
isInteger.d.ts 48f1b97cc3 first commit 10 bulan lalu
isInteger.js 48f1b97cc3 first commit 10 bulan lalu
isNaN.d.ts 48f1b97cc3 first commit 10 bulan lalu
isNaN.js 48f1b97cc3 first commit 10 bulan lalu
isNegativeZero.d.ts 48f1b97cc3 first commit 10 bulan lalu
isNegativeZero.js 48f1b97cc3 first commit 10 bulan lalu
max.d.ts 48f1b97cc3 first commit 10 bulan lalu
max.js 48f1b97cc3 first commit 10 bulan lalu
min.d.ts 48f1b97cc3 first commit 10 bulan lalu
min.js 48f1b97cc3 first commit 10 bulan lalu
mod.d.ts 48f1b97cc3 first commit 10 bulan lalu
mod.js 48f1b97cc3 first commit 10 bulan lalu
package.json 48f1b97cc3 first commit 10 bulan lalu
pow.d.ts 48f1b97cc3 first commit 10 bulan lalu
pow.js 48f1b97cc3 first commit 10 bulan lalu
round.d.ts 48f1b97cc3 first commit 10 bulan lalu
round.js 48f1b97cc3 first commit 10 bulan lalu
sign.d.ts 48f1b97cc3 first commit 10 bulan lalu
sign.js 48f1b97cc3 first commit 10 bulan lalu
tsconfig.json 48f1b97cc3 first commit 10 bulan lalu

README.md

math-intrinsics Version Badge

github actions coverage License Downloads

npm badge

ES Math-related intrinsics and helpers, robustly cached.

  • abs
  • floor
  • isFinite
  • isInteger
  • isNaN
  • isNegativeZero
  • max
  • min
  • mod
  • pow
  • round
  • sign
  • constants/maxArrayLength
  • constants/maxSafeInteger
  • constants/maxValue

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.