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

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.