X\choro 48f1b97cc3 first commit 10 ماه پیش
..
.github 48f1b97cc3 first commit 10 ماه پیش
constants 48f1b97cc3 first commit 10 ماه پیش
test 48f1b97cc3 first commit 10 ماه پیش
.eslintrc 48f1b97cc3 first commit 10 ماه پیش
CHANGELOG.md 48f1b97cc3 first commit 10 ماه پیش
LICENSE 48f1b97cc3 first commit 10 ماه پیش
README.md 48f1b97cc3 first commit 10 ماه پیش
abs.d.ts 48f1b97cc3 first commit 10 ماه پیش
abs.js 48f1b97cc3 first commit 10 ماه پیش
floor.d.ts 48f1b97cc3 first commit 10 ماه پیش
floor.js 48f1b97cc3 first commit 10 ماه پیش
isFinite.d.ts 48f1b97cc3 first commit 10 ماه پیش
isFinite.js 48f1b97cc3 first commit 10 ماه پیش
isInteger.d.ts 48f1b97cc3 first commit 10 ماه پیش
isInteger.js 48f1b97cc3 first commit 10 ماه پیش
isNaN.d.ts 48f1b97cc3 first commit 10 ماه پیش
isNaN.js 48f1b97cc3 first commit 10 ماه پیش
isNegativeZero.d.ts 48f1b97cc3 first commit 10 ماه پیش
isNegativeZero.js 48f1b97cc3 first commit 10 ماه پیش
max.d.ts 48f1b97cc3 first commit 10 ماه پیش
max.js 48f1b97cc3 first commit 10 ماه پیش
min.d.ts 48f1b97cc3 first commit 10 ماه پیش
min.js 48f1b97cc3 first commit 10 ماه پیش
mod.d.ts 48f1b97cc3 first commit 10 ماه پیش
mod.js 48f1b97cc3 first commit 10 ماه پیش
package.json 48f1b97cc3 first commit 10 ماه پیش
pow.d.ts 48f1b97cc3 first commit 10 ماه پیش
pow.js 48f1b97cc3 first commit 10 ماه پیش
round.d.ts 48f1b97cc3 first commit 10 ماه پیش
round.js 48f1b97cc3 first commit 10 ماه پیش
sign.d.ts 48f1b97cc3 first commit 10 ماه پیش
sign.js 48f1b97cc3 first commit 10 ماه پیش
tsconfig.json 48f1b97cc3 first commit 10 ماه پیش

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.