Gogs df670eaa27 first commit 3 weeks ago
..
.github df670eaa27 first commit 3 weeks ago
constants df670eaa27 first commit 3 weeks ago
test df670eaa27 first commit 3 weeks ago
.eslintrc df670eaa27 first commit 3 weeks ago
CHANGELOG.md df670eaa27 first commit 3 weeks ago
LICENSE df670eaa27 first commit 3 weeks ago
README.md df670eaa27 first commit 3 weeks ago
abs.d.ts df670eaa27 first commit 3 weeks ago
abs.js df670eaa27 first commit 3 weeks ago
floor.d.ts df670eaa27 first commit 3 weeks ago
floor.js df670eaa27 first commit 3 weeks ago
isFinite.d.ts df670eaa27 first commit 3 weeks ago
isFinite.js df670eaa27 first commit 3 weeks ago
isInteger.d.ts df670eaa27 first commit 3 weeks ago
isInteger.js df670eaa27 first commit 3 weeks ago
isNaN.d.ts df670eaa27 first commit 3 weeks ago
isNaN.js df670eaa27 first commit 3 weeks ago
isNegativeZero.d.ts df670eaa27 first commit 3 weeks ago
isNegativeZero.js df670eaa27 first commit 3 weeks ago
max.d.ts df670eaa27 first commit 3 weeks ago
max.js df670eaa27 first commit 3 weeks ago
min.d.ts df670eaa27 first commit 3 weeks ago
min.js df670eaa27 first commit 3 weeks ago
mod.d.ts df670eaa27 first commit 3 weeks ago
mod.js df670eaa27 first commit 3 weeks ago
package.json df670eaa27 first commit 3 weeks ago
pow.d.ts df670eaa27 first commit 3 weeks ago
pow.js df670eaa27 first commit 3 weeks ago
round.d.ts df670eaa27 first commit 3 weeks ago
round.js df670eaa27 first commit 3 weeks ago
sign.d.ts df670eaa27 first commit 3 weeks ago
sign.js df670eaa27 first commit 3 weeks ago
tsconfig.json df670eaa27 first commit 3 weeks ago

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.