X\choro 48f1b97cc3 first commit 10 months ago
..
.github 48f1b97cc3 first commit 10 months ago
constants 48f1b97cc3 first commit 10 months ago
test 48f1b97cc3 first commit 10 months ago
.eslintrc 48f1b97cc3 first commit 10 months ago
CHANGELOG.md 48f1b97cc3 first commit 10 months ago
LICENSE 48f1b97cc3 first commit 10 months ago
README.md 48f1b97cc3 first commit 10 months ago
abs.d.ts 48f1b97cc3 first commit 10 months ago
abs.js 48f1b97cc3 first commit 10 months ago
floor.d.ts 48f1b97cc3 first commit 10 months ago
floor.js 48f1b97cc3 first commit 10 months ago
isFinite.d.ts 48f1b97cc3 first commit 10 months ago
isFinite.js 48f1b97cc3 first commit 10 months ago
isInteger.d.ts 48f1b97cc3 first commit 10 months ago
isInteger.js 48f1b97cc3 first commit 10 months ago
isNaN.d.ts 48f1b97cc3 first commit 10 months ago
isNaN.js 48f1b97cc3 first commit 10 months ago
isNegativeZero.d.ts 48f1b97cc3 first commit 10 months ago
isNegativeZero.js 48f1b97cc3 first commit 10 months ago
max.d.ts 48f1b97cc3 first commit 10 months ago
max.js 48f1b97cc3 first commit 10 months ago
min.d.ts 48f1b97cc3 first commit 10 months ago
min.js 48f1b97cc3 first commit 10 months ago
mod.d.ts 48f1b97cc3 first commit 10 months ago
mod.js 48f1b97cc3 first commit 10 months ago
package.json 48f1b97cc3 first commit 10 months ago
pow.d.ts 48f1b97cc3 first commit 10 months ago
pow.js 48f1b97cc3 first commit 10 months ago
round.d.ts 48f1b97cc3 first commit 10 months ago
round.js 48f1b97cc3 first commit 10 months ago
sign.d.ts 48f1b97cc3 first commit 10 months ago
sign.js 48f1b97cc3 first commit 10 months ago
tsconfig.json 48f1b97cc3 first commit 10 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.