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

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.