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