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

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.