MCPcopy Create free account
hub / github.com/Semporia/Scripts / pretreatment

Function pretreatment

jd_validate.js:292–300  ·  view source on GitHub ↗
(d, c, b)

Source from the content-addressed store, hash-verified

290 }
291
292 function pretreatment(d, c, b) {
293 let e = string10to64(Math.abs(d));
294 let a = "";
295 if (!b) {
296 a += (d > 0 ? "1" : "0")
297 }
298 a += prefixInteger(e, c);
299 return a
300 }
301
302 let b = new Array();
303 for (let e = 0; e < c.length; e++) {

Callers 1

getCoordinateFunction · 0.70

Calls 2

string10to64Function · 0.70
prefixIntegerFunction · 0.70

Tested by

no test coverage detected