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.
 
 
 
Prajwal Shrestha ba6f33679e green tech 6 months ago
..
.github green tech 6 months ago
constants green tech 6 months ago
test green tech 6 months ago
.eslintrc green tech 6 months ago
CHANGELOG.md green tech 6 months ago
LICENSE green tech 6 months ago
README.md green tech 6 months ago
abs.d.ts green tech 6 months ago
abs.js green tech 6 months ago
floor.d.ts green tech 6 months ago
floor.js green tech 6 months ago
isFinite.d.ts green tech 6 months ago
isFinite.js green tech 6 months ago
isInteger.d.ts green tech 6 months ago
isInteger.js green tech 6 months ago
isNaN.d.ts green tech 6 months ago
isNaN.js green tech 6 months ago
isNegativeZero.d.ts green tech 6 months ago
isNegativeZero.js green tech 6 months ago
max.d.ts green tech 6 months ago
max.js green tech 6 months ago
min.d.ts green tech 6 months ago
min.js green tech 6 months ago
mod.d.ts green tech 6 months ago
mod.js green tech 6 months ago
package.json green tech 6 months ago
pow.d.ts green tech 6 months ago
pow.js green tech 6 months ago
round.d.ts green tech 6 months ago
round.js green tech 6 months ago
sign.d.ts green tech 6 months ago
sign.js green tech 6 months ago
tsconfig.json green tech 6 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.