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

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.