initial commit

This commit is contained in:
2026-03-22 03:21:45 +02:00
commit 897fea9f4e
15431 changed files with 2548840 additions and 0 deletions

20
node_modules/mumath/is-multiple.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
/**
* Check if one number is multiple of other
*
* @module mumath/is-multiple
*/
'use strict';
var almost = require('almost-equal');
module.exports = isMultiple;
function isMultiple (a, b, eps) {
var remainder = a % b;
if (!eps) eps = almost.FLT_EPSILON;
if (!remainder) return true;
if (almost(0, remainder, eps, 0) || almost(Math.abs(b), Math.abs(remainder), eps, 0)) return true;
return false;
}