ljoaquim 1590311121 first commit 10 сар өмнө
..
.github 1590311121 first commit 10 сар өмнө
constants 1590311121 first commit 10 сар өмнө
test 1590311121 first commit 10 сар өмнө
.eslintrc 1590311121 first commit 10 сар өмнө
CHANGELOG.md 1590311121 first commit 10 сар өмнө
LICENSE 1590311121 first commit 10 сар өмнө
README.md 1590311121 first commit 10 сар өмнө
abs.d.ts 1590311121 first commit 10 сар өмнө
abs.js 1590311121 first commit 10 сар өмнө
floor.d.ts 1590311121 first commit 10 сар өмнө
floor.js 1590311121 first commit 10 сар өмнө
isFinite.d.ts 1590311121 first commit 10 сар өмнө
isFinite.js 1590311121 first commit 10 сар өмнө
isInteger.d.ts 1590311121 first commit 10 сар өмнө
isInteger.js 1590311121 first commit 10 сар өмнө
isNaN.d.ts 1590311121 first commit 10 сар өмнө
isNaN.js 1590311121 first commit 10 сар өмнө
isNegativeZero.d.ts 1590311121 first commit 10 сар өмнө
isNegativeZero.js 1590311121 first commit 10 сар өмнө
max.d.ts 1590311121 first commit 10 сар өмнө
max.js 1590311121 first commit 10 сар өмнө
min.d.ts 1590311121 first commit 10 сар өмнө
min.js 1590311121 first commit 10 сар өмнө
mod.d.ts 1590311121 first commit 10 сар өмнө
mod.js 1590311121 first commit 10 сар өмнө
package.json 1590311121 first commit 10 сар өмнө
pow.d.ts 1590311121 first commit 10 сар өмнө
pow.js 1590311121 first commit 10 сар өмнө
round.d.ts 1590311121 first commit 10 сар өмнө
round.js 1590311121 first commit 10 сар өмнө
sign.d.ts 1590311121 first commit 10 сар өмнө
sign.js 1590311121 first commit 10 сар өмнө
tsconfig.json 1590311121 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.