冯博深 f143f24da4 first há 18 horas atrás
..
.github f143f24da4 first há 18 horas atrás
constants f143f24da4 first há 18 horas atrás
test f143f24da4 first há 18 horas atrás
.eslintrc f143f24da4 first há 18 horas atrás
CHANGELOG.md f143f24da4 first há 18 horas atrás
LICENSE f143f24da4 first há 18 horas atrás
README.md f143f24da4 first há 18 horas atrás
abs.d.ts f143f24da4 first há 18 horas atrás
abs.js f143f24da4 first há 18 horas atrás
floor.d.ts f143f24da4 first há 18 horas atrás
floor.js f143f24da4 first há 18 horas atrás
isFinite.d.ts f143f24da4 first há 18 horas atrás
isFinite.js f143f24da4 first há 18 horas atrás
isInteger.d.ts f143f24da4 first há 18 horas atrás
isInteger.js f143f24da4 first há 18 horas atrás
isNaN.d.ts f143f24da4 first há 18 horas atrás
isNaN.js f143f24da4 first há 18 horas atrás
isNegativeZero.d.ts f143f24da4 first há 18 horas atrás
isNegativeZero.js f143f24da4 first há 18 horas atrás
max.d.ts f143f24da4 first há 18 horas atrás
max.js f143f24da4 first há 18 horas atrás
min.d.ts f143f24da4 first há 18 horas atrás
min.js f143f24da4 first há 18 horas atrás
mod.d.ts f143f24da4 first há 18 horas atrás
mod.js f143f24da4 first há 18 horas atrás
package.json f143f24da4 first há 18 horas atrás
pow.d.ts f143f24da4 first há 18 horas atrás
pow.js f143f24da4 first há 18 horas atrás
round.d.ts f143f24da4 first há 18 horas atrás
round.js f143f24da4 first há 18 horas atrás
sign.d.ts f143f24da4 first há 18 horas atrás
sign.js f143f24da4 first há 18 horas atrás
tsconfig.json f143f24da4 first há 18 horas atrás

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.