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

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.