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.
 
 
 
 
jakub 8f2c8d3cff bliat 11 months ago
..
.github bliat 11 months ago
constants bliat 11 months ago
test bliat 11 months ago
.eslintrc bliat 11 months ago
CHANGELOG.md bliat 11 months ago
LICENSE bliat 11 months ago
README.md bliat 11 months ago
abs.d.ts bliat 11 months ago
abs.js bliat 11 months ago
floor.d.ts bliat 11 months ago
floor.js bliat 11 months ago
isFinite.d.ts bliat 11 months ago
isFinite.js bliat 11 months ago
isInteger.d.ts bliat 11 months ago
isInteger.js bliat 11 months ago
isNaN.d.ts bliat 11 months ago
isNaN.js bliat 11 months ago
isNegativeZero.d.ts bliat 11 months ago
isNegativeZero.js bliat 11 months ago
max.d.ts bliat 11 months ago
max.js bliat 11 months ago
min.d.ts bliat 11 months ago
min.js bliat 11 months ago
mod.d.ts bliat 11 months ago
mod.js bliat 11 months ago
package.json bliat 11 months ago
pow.d.ts bliat 11 months ago
pow.js bliat 11 months ago
round.d.ts bliat 11 months ago
round.js bliat 11 months ago
sign.d.ts bliat 11 months ago
sign.js bliat 11 months ago
tsconfig.json bliat 11 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.