back/node_modules/math-intrinsics
Roberto Castellanos 830220b2f0 first commit 2025-10-19 12:24:23 -06:00
..
.github first commit 2025-10-19 12:24:23 -06:00
constants first commit 2025-10-19 12:24:23 -06:00
test first commit 2025-10-19 12:24:23 -06:00
.eslintrc first commit 2025-10-19 12:24:23 -06:00
CHANGELOG.md first commit 2025-10-19 12:24:23 -06:00
LICENSE first commit 2025-10-19 12:24:23 -06:00
README.md first commit 2025-10-19 12:24:23 -06:00
abs.d.ts first commit 2025-10-19 12:24:23 -06:00
abs.js first commit 2025-10-19 12:24:23 -06:00
floor.d.ts first commit 2025-10-19 12:24:23 -06:00
floor.js first commit 2025-10-19 12:24:23 -06:00
isFinite.d.ts first commit 2025-10-19 12:24:23 -06:00
isFinite.js first commit 2025-10-19 12:24:23 -06:00
isInteger.d.ts first commit 2025-10-19 12:24:23 -06:00
isInteger.js first commit 2025-10-19 12:24:23 -06:00
isNaN.d.ts first commit 2025-10-19 12:24:23 -06:00
isNaN.js first commit 2025-10-19 12:24:23 -06:00
isNegativeZero.d.ts first commit 2025-10-19 12:24:23 -06:00
isNegativeZero.js first commit 2025-10-19 12:24:23 -06:00
max.d.ts first commit 2025-10-19 12:24:23 -06:00
max.js first commit 2025-10-19 12:24:23 -06:00
min.d.ts first commit 2025-10-19 12:24:23 -06:00
min.js first commit 2025-10-19 12:24:23 -06:00
mod.d.ts first commit 2025-10-19 12:24:23 -06:00
mod.js first commit 2025-10-19 12:24:23 -06:00
package.json first commit 2025-10-19 12:24:23 -06:00
pow.d.ts first commit 2025-10-19 12:24:23 -06:00
pow.js first commit 2025-10-19 12:24:23 -06:00
round.d.ts first commit 2025-10-19 12:24:23 -06:00
round.js first commit 2025-10-19 12:24:23 -06:00
sign.d.ts first commit 2025-10-19 12:24:23 -06:00
sign.js first commit 2025-10-19 12:24:23 -06:00
tsconfig.json first commit 2025-10-19 12:24:23 -06:00

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.