郑柏铃 8ab83f9df6 学习 10 mesiacov pred
..
.github 8ab83f9df6 学习 10 mesiacov pred
constants 8ab83f9df6 学习 10 mesiacov pred
test 8ab83f9df6 学习 10 mesiacov pred
.eslintrc 8ab83f9df6 学习 10 mesiacov pred
CHANGELOG.md 8ab83f9df6 学习 10 mesiacov pred
LICENSE 8ab83f9df6 学习 10 mesiacov pred
README.md 8ab83f9df6 学习 10 mesiacov pred
abs.d.ts 8ab83f9df6 学习 10 mesiacov pred
abs.js 8ab83f9df6 学习 10 mesiacov pred
floor.d.ts 8ab83f9df6 学习 10 mesiacov pred
floor.js 8ab83f9df6 学习 10 mesiacov pred
isFinite.d.ts 8ab83f9df6 学习 10 mesiacov pred
isFinite.js 8ab83f9df6 学习 10 mesiacov pred
isInteger.d.ts 8ab83f9df6 学习 10 mesiacov pred
isInteger.js 8ab83f9df6 学习 10 mesiacov pred
isNaN.d.ts 8ab83f9df6 学习 10 mesiacov pred
isNaN.js 8ab83f9df6 学习 10 mesiacov pred
isNegativeZero.d.ts 8ab83f9df6 学习 10 mesiacov pred
isNegativeZero.js 8ab83f9df6 学习 10 mesiacov pred
max.d.ts 8ab83f9df6 学习 10 mesiacov pred
max.js 8ab83f9df6 学习 10 mesiacov pred
min.d.ts 8ab83f9df6 学习 10 mesiacov pred
min.js 8ab83f9df6 学习 10 mesiacov pred
mod.d.ts 8ab83f9df6 学习 10 mesiacov pred
mod.js 8ab83f9df6 学习 10 mesiacov pred
package.json 8ab83f9df6 学习 10 mesiacov pred
pow.d.ts 8ab83f9df6 学习 10 mesiacov pred
pow.js 8ab83f9df6 学习 10 mesiacov pred
round.d.ts 8ab83f9df6 学习 10 mesiacov pred
round.js 8ab83f9df6 学习 10 mesiacov pred
sign.d.ts 8ab83f9df6 学习 10 mesiacov pred
sign.js 8ab83f9df6 学习 10 mesiacov pred
tsconfig.json 8ab83f9df6 学习 10 mesiacov pred

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.