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

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.