ljoaquim 1590311121 first commit 10 ماه پیش
..
.github 1590311121 first commit 10 ماه پیش
constants 1590311121 first commit 10 ماه پیش
test 1590311121 first commit 10 ماه پیش
.eslintrc 1590311121 first commit 10 ماه پیش
CHANGELOG.md 1590311121 first commit 10 ماه پیش
LICENSE 1590311121 first commit 10 ماه پیش
README.md 1590311121 first commit 10 ماه پیش
abs.d.ts 1590311121 first commit 10 ماه پیش
abs.js 1590311121 first commit 10 ماه پیش
floor.d.ts 1590311121 first commit 10 ماه پیش
floor.js 1590311121 first commit 10 ماه پیش
isFinite.d.ts 1590311121 first commit 10 ماه پیش
isFinite.js 1590311121 first commit 10 ماه پیش
isInteger.d.ts 1590311121 first commit 10 ماه پیش
isInteger.js 1590311121 first commit 10 ماه پیش
isNaN.d.ts 1590311121 first commit 10 ماه پیش
isNaN.js 1590311121 first commit 10 ماه پیش
isNegativeZero.d.ts 1590311121 first commit 10 ماه پیش
isNegativeZero.js 1590311121 first commit 10 ماه پیش
max.d.ts 1590311121 first commit 10 ماه پیش
max.js 1590311121 first commit 10 ماه پیش
min.d.ts 1590311121 first commit 10 ماه پیش
min.js 1590311121 first commit 10 ماه پیش
mod.d.ts 1590311121 first commit 10 ماه پیش
mod.js 1590311121 first commit 10 ماه پیش
package.json 1590311121 first commit 10 ماه پیش
pow.d.ts 1590311121 first commit 10 ماه پیش
pow.js 1590311121 first commit 10 ماه پیش
round.d.ts 1590311121 first commit 10 ماه پیش
round.js 1590311121 first commit 10 ماه پیش
sign.d.ts 1590311121 first commit 10 ماه پیش
sign.js 1590311121 first commit 10 ماه پیش
tsconfig.json 1590311121 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.