ideally it'd be max(200, max(inputDecimalPlaces) + ±20)
oh, BigNumber doesn't have division that throws errors on infinite decimal representation. SOGL java does infinite precision when possible and just attempts to limit to 200 when errors happen
oh cool, BigNumber actually does do infinite precision, it only looses precision to the configs amount only when dividing
rn I just have a stack of objects like that which contain their pointer and have a next function which, for the top/newest object, is called at the end of each tokens execution and it decides what to do
function tokenize(string) {
var words = string.split(' '), i = 0;
while (i < words.length) {
var word = words[i];
if (word[0] === '"' && word[word.length - 1] !== '"') words.splice(i, 2, words[i] + words[i + 1]) else i++;
return words;
}
}