You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dongjin kim 1d87ad8662
first commit
7 months ago
..
.github first commit 7 months ago
constants first commit 7 months ago
test first commit 7 months ago
.eslintrc first commit 7 months ago
CHANGELOG.md first commit 7 months ago
LICENSE first commit 7 months ago
README.md first commit 7 months ago
abs.d.ts first commit 7 months ago
abs.js first commit 7 months ago
floor.d.ts first commit 7 months ago
floor.js first commit 7 months ago
isFinite.d.ts first commit 7 months ago
isFinite.js first commit 7 months ago
isInteger.d.ts first commit 7 months ago
isInteger.js first commit 7 months ago
isNaN.d.ts first commit 7 months ago
isNaN.js first commit 7 months ago
isNegativeZero.d.ts first commit 7 months ago
isNegativeZero.js first commit 7 months ago
max.d.ts first commit 7 months ago
max.js first commit 7 months ago
min.d.ts first commit 7 months ago
min.js first commit 7 months ago
mod.d.ts first commit 7 months ago
mod.js first commit 7 months ago
package.json first commit 7 months ago
pow.d.ts first commit 7 months ago
pow.js first commit 7 months ago
round.d.ts first commit 7 months ago
round.js first commit 7 months ago
sign.d.ts first commit 7 months ago
sign.js first commit 7 months ago
tsconfig.json first commit 7 months ago

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.