潘超林 b17e38f0e7 新建 3 달 전
..
.github b17e38f0e7 新建 3 달 전
constants b17e38f0e7 新建 3 달 전
test b17e38f0e7 新建 3 달 전
.eslintrc b17e38f0e7 新建 3 달 전
CHANGELOG.md b17e38f0e7 新建 3 달 전
LICENSE b17e38f0e7 新建 3 달 전
README.md b17e38f0e7 新建 3 달 전
abs.d.ts b17e38f0e7 新建 3 달 전
abs.js b17e38f0e7 新建 3 달 전
floor.d.ts b17e38f0e7 新建 3 달 전
floor.js b17e38f0e7 新建 3 달 전
isFinite.d.ts b17e38f0e7 新建 3 달 전
isFinite.js b17e38f0e7 新建 3 달 전
isInteger.d.ts b17e38f0e7 新建 3 달 전
isInteger.js b17e38f0e7 新建 3 달 전
isNaN.d.ts b17e38f0e7 新建 3 달 전
isNaN.js b17e38f0e7 新建 3 달 전
isNegativeZero.d.ts b17e38f0e7 新建 3 달 전
isNegativeZero.js b17e38f0e7 新建 3 달 전
max.d.ts b17e38f0e7 新建 3 달 전
max.js b17e38f0e7 新建 3 달 전
min.d.ts b17e38f0e7 新建 3 달 전
min.js b17e38f0e7 新建 3 달 전
mod.d.ts b17e38f0e7 新建 3 달 전
mod.js b17e38f0e7 新建 3 달 전
package.json b17e38f0e7 新建 3 달 전
pow.d.ts b17e38f0e7 新建 3 달 전
pow.js b17e38f0e7 新建 3 달 전
round.d.ts b17e38f0e7 新建 3 달 전
round.js b17e38f0e7 新建 3 달 전
sign.d.ts b17e38f0e7 新建 3 달 전
sign.js b17e38f0e7 新建 3 달 전
tsconfig.json b17e38f0e7 新建 3 달 전

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.