You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
PhilipOsztromok d28cb5a9ed Initial commit 10 months ago
..
.github Initial commit 10 months ago
constants Initial commit 10 months ago
test Initial commit 10 months ago
.eslintrc Initial commit 10 months ago
CHANGELOG.md Initial commit 10 months ago
LICENSE Initial commit 10 months ago
README.md Initial commit 10 months ago
abs.d.ts Initial commit 10 months ago
abs.js Initial commit 10 months ago
floor.d.ts Initial commit 10 months ago
floor.js Initial commit 10 months ago
isFinite.d.ts Initial commit 10 months ago
isFinite.js Initial commit 10 months ago
isInteger.d.ts Initial commit 10 months ago
isInteger.js Initial commit 10 months ago
isNaN.d.ts Initial commit 10 months ago
isNaN.js Initial commit 10 months ago
isNegativeZero.d.ts Initial commit 10 months ago
isNegativeZero.js Initial commit 10 months ago
max.d.ts Initial commit 10 months ago
max.js Initial commit 10 months ago
min.d.ts Initial commit 10 months ago
min.js Initial commit 10 months ago
mod.d.ts Initial commit 10 months ago
mod.js Initial commit 10 months ago
package.json Initial commit 10 months ago
pow.d.ts Initial commit 10 months ago
pow.js Initial commit 10 months ago
round.d.ts Initial commit 10 months ago
round.js Initial commit 10 months ago
sign.d.ts Initial commit 10 months ago
sign.js Initial commit 10 months ago
tsconfig.json Initial commit 10 months ago

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.