0225304 479b0dd372 fit:first 2 mesiacov pred
..
.github 479b0dd372 fit:first 2 mesiacov pred
constants 479b0dd372 fit:first 2 mesiacov pred
test 479b0dd372 fit:first 2 mesiacov pred
.eslintrc 479b0dd372 fit:first 2 mesiacov pred
CHANGELOG.md 479b0dd372 fit:first 2 mesiacov pred
LICENSE 479b0dd372 fit:first 2 mesiacov pred
README.md 479b0dd372 fit:first 2 mesiacov pred
abs.d.ts 479b0dd372 fit:first 2 mesiacov pred
abs.js 479b0dd372 fit:first 2 mesiacov pred
floor.d.ts 479b0dd372 fit:first 2 mesiacov pred
floor.js 479b0dd372 fit:first 2 mesiacov pred
isFinite.d.ts 479b0dd372 fit:first 2 mesiacov pred
isFinite.js 479b0dd372 fit:first 2 mesiacov pred
isInteger.d.ts 479b0dd372 fit:first 2 mesiacov pred
isInteger.js 479b0dd372 fit:first 2 mesiacov pred
isNaN.d.ts 479b0dd372 fit:first 2 mesiacov pred
isNaN.js 479b0dd372 fit:first 2 mesiacov pred
isNegativeZero.d.ts 479b0dd372 fit:first 2 mesiacov pred
isNegativeZero.js 479b0dd372 fit:first 2 mesiacov pred
max.d.ts 479b0dd372 fit:first 2 mesiacov pred
max.js 479b0dd372 fit:first 2 mesiacov pred
min.d.ts 479b0dd372 fit:first 2 mesiacov pred
min.js 479b0dd372 fit:first 2 mesiacov pred
mod.d.ts 479b0dd372 fit:first 2 mesiacov pred
mod.js 479b0dd372 fit:first 2 mesiacov pred
package.json 479b0dd372 fit:first 2 mesiacov pred
pow.d.ts 479b0dd372 fit:first 2 mesiacov pred
pow.js 479b0dd372 fit:first 2 mesiacov pred
round.d.ts 479b0dd372 fit:first 2 mesiacov pred
round.js 479b0dd372 fit:first 2 mesiacov pred
sign.d.ts 479b0dd372 fit:first 2 mesiacov pred
sign.js 479b0dd372 fit:first 2 mesiacov pred
tsconfig.json 479b0dd372 fit:first 2 mesiacov pred

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.