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.
lihuilin 991dea072f 金豆完成,任务见bug表 11 months ago
..
.github 250414提交 11 months ago
constants 250414提交 11 months ago
test 250414提交 11 months ago
.eslintrc 250414提交 11 months ago
CHANGELOG.md 250414提交 11 months ago
LICENSE 250414提交 11 months ago
README.md 250414提交 11 months ago
abs.d.ts 250414提交 11 months ago
abs.js 250414提交 11 months ago
floor.d.ts 250414提交 11 months ago
floor.js 250414提交 11 months ago
isFinite.d.ts 250414提交 11 months ago
isFinite.js 250414提交 11 months ago
isInteger.d.ts 250414提交 11 months ago
isInteger.js 250414提交 11 months ago
isNaN.d.ts 250414提交 11 months ago
isNaN.js 250414提交 11 months ago
isNegativeZero.d.ts 250414提交 11 months ago
isNegativeZero.js 250414提交 11 months ago
max.d.ts 250414提交 11 months ago
max.js 250414提交 11 months ago
min.d.ts 250414提交 11 months ago
min.js 250414提交 11 months ago
mod.d.ts 250414提交 11 months ago
mod.js 250414提交 11 months ago
package.json 250414提交 11 months ago
pow.d.ts 250414提交 11 months ago
pow.js 250414提交 11 months ago
round.d.ts 250414提交 11 months ago
round.js 250414提交 11 months ago
sign.d.ts 250414提交 11 months ago
sign.js 250414提交 11 months ago
tsconfig.json 250414提交 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.