X\choro 48f1b97cc3 first commit 10 mesi fa
..
.github 48f1b97cc3 first commit 10 mesi fa
constants 48f1b97cc3 first commit 10 mesi fa
test 48f1b97cc3 first commit 10 mesi fa
.eslintrc 48f1b97cc3 first commit 10 mesi fa
CHANGELOG.md 48f1b97cc3 first commit 10 mesi fa
LICENSE 48f1b97cc3 first commit 10 mesi fa
README.md 48f1b97cc3 first commit 10 mesi fa
abs.d.ts 48f1b97cc3 first commit 10 mesi fa
abs.js 48f1b97cc3 first commit 10 mesi fa
floor.d.ts 48f1b97cc3 first commit 10 mesi fa
floor.js 48f1b97cc3 first commit 10 mesi fa
isFinite.d.ts 48f1b97cc3 first commit 10 mesi fa
isFinite.js 48f1b97cc3 first commit 10 mesi fa
isInteger.d.ts 48f1b97cc3 first commit 10 mesi fa
isInteger.js 48f1b97cc3 first commit 10 mesi fa
isNaN.d.ts 48f1b97cc3 first commit 10 mesi fa
isNaN.js 48f1b97cc3 first commit 10 mesi fa
isNegativeZero.d.ts 48f1b97cc3 first commit 10 mesi fa
isNegativeZero.js 48f1b97cc3 first commit 10 mesi fa
max.d.ts 48f1b97cc3 first commit 10 mesi fa
max.js 48f1b97cc3 first commit 10 mesi fa
min.d.ts 48f1b97cc3 first commit 10 mesi fa
min.js 48f1b97cc3 first commit 10 mesi fa
mod.d.ts 48f1b97cc3 first commit 10 mesi fa
mod.js 48f1b97cc3 first commit 10 mesi fa
package.json 48f1b97cc3 first commit 10 mesi fa
pow.d.ts 48f1b97cc3 first commit 10 mesi fa
pow.js 48f1b97cc3 first commit 10 mesi fa
round.d.ts 48f1b97cc3 first commit 10 mesi fa
round.js 48f1b97cc3 first commit 10 mesi fa
sign.d.ts 48f1b97cc3 first commit 10 mesi fa
sign.js 48f1b97cc3 first commit 10 mesi fa
tsconfig.json 48f1b97cc3 first commit 10 mesi fa

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.