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