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

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.