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

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.