MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / divmod

Function divmod

codebase/sources/dhtmlxscheduler.js:15771–15773  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

15769 return r * b < 0 ? r + b : r;
15770 };
15771 var divmod = function(a, b) {
15772 return { div: Math.floor(a / b), mod: pymod(a, b) };
15773 };
15774 var empty = function(obj) {
15775 return !isPresent(obj) || obj.length === 0;
15776 };

Callers 1

dhtmlxscheduler.jsFile · 0.70

Calls 1

pymodFunction · 0.70

Tested by

no test coverage detected