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.