codeql-action/node_modules/math-intrinsics
2025-04-02 12:43:14 +00:00
..
.github
constants
test
.eslintrc
abs.d.ts
abs.js
CHANGELOG.md
floor.d.ts
floor.js
isFinite.d.ts
isFinite.js
isInteger.d.ts
isInteger.js
isNaN.d.ts
isNaN.js
isNegativeZero.d.ts
isNegativeZero.js
LICENSE
max.d.ts
max.js
min.d.ts
min.js
mod.d.ts
mod.js
package.json
pow.d.ts
pow.js
README.md
round.d.ts
round.js
sign.d.ts
sign.js
tsconfig.json

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.