zlwu dd667101ef first commit 1 rok pred
..
.github dd667101ef first commit 1 rok pred
constants dd667101ef first commit 1 rok pred
test dd667101ef first commit 1 rok pred
.eslintrc dd667101ef first commit 1 rok pred
CHANGELOG.md dd667101ef first commit 1 rok pred
LICENSE dd667101ef first commit 1 rok pred
README.md dd667101ef first commit 1 rok pred
abs.d.ts dd667101ef first commit 1 rok pred
abs.js dd667101ef first commit 1 rok pred
floor.d.ts dd667101ef first commit 1 rok pred
floor.js dd667101ef first commit 1 rok pred
isFinite.d.ts dd667101ef first commit 1 rok pred
isFinite.js dd667101ef first commit 1 rok pred
isInteger.d.ts dd667101ef first commit 1 rok pred
isInteger.js dd667101ef first commit 1 rok pred
isNaN.d.ts dd667101ef first commit 1 rok pred
isNaN.js dd667101ef first commit 1 rok pred
isNegativeZero.d.ts dd667101ef first commit 1 rok pred
isNegativeZero.js dd667101ef first commit 1 rok pred
max.d.ts dd667101ef first commit 1 rok pred
max.js dd667101ef first commit 1 rok pred
min.d.ts dd667101ef first commit 1 rok pred
min.js dd667101ef first commit 1 rok pred
mod.d.ts dd667101ef first commit 1 rok pred
mod.js dd667101ef first commit 1 rok pred
package.json dd667101ef first commit 1 rok pred
pow.d.ts dd667101ef first commit 1 rok pred
pow.js dd667101ef first commit 1 rok pred
round.d.ts dd667101ef first commit 1 rok pred
round.js dd667101ef first commit 1 rok pred
sign.d.ts dd667101ef first commit 1 rok pred
sign.js dd667101ef first commit 1 rok pred
tsconfig.json dd667101ef first commit 1 rok pred

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.