lib/bigint.js
function(normalizedLeft, normalizedRight) {
    if (normalizedLeft.length !== normalizedRight.length) {
        return normalizedLeft.length - normalizedRight.length;
    }

    for (var i = normalizedLeft.length - 1; i >= 0; i -= 1) {
        if (normalizedLeft[i] !== normalizedRight[i]) {
            return normalizedLeft[i] - normalizedRight[i];
        }
    }

    return 0;
}
function(normalizedLeft, normalizedRight) {
    if (normalizedLeft.length !== normalizedRight.length) {
        return normalizedLeft.length - normalizedRight.length;
    }

    for (var i = normalizedLeft.length - 1; i >= 0; i -= 1) {
        if (normalizedLeft[i] !== normalizedRight[i]) {
            return normalizedLeft[i] - normalizedRight[i];
        }
    }

    return 0;
}
function ( normalizedLeft , normalizedRight ) { if ( normalizedLeft . length !== normalizedRight . length ) { return normalizedLeft . length - normalizedRight . length ; } for ( var i = normalizedLeft . length - 1 ; i >= 0 ; i -= 1 ) { if ( normalizedLeft [ i ] !== normalizedRight [ i ] ) { return normalizedLeft [ i ] - normalizedRight [ i ] ; } } return 0 ; }
compares numbers represented by two NORMALIZED digits arrays
compares numbers represented by two NORMALIZED digits arrays