static simplifyByRounding(value, epsilon) {
        if (value < 0) {
            return -Format.simplifyByRounding(-value, epsilon);
        }

        let r = value % 1;
        if (r <= epsilon || 1 - r <= epsilon) {
            return Math.round(value);
        }

        let fraction = match(UNICODE_FRACTIONS, e => Math.abs(e.value - value) <= epsilon);
        if (fraction !== undefined) {
            return fraction.value;
        }

        let rootFraction = match(UNICODE_FRACTIONS, e => Math.abs(Math.sqrt(e.value) - value) <= epsilon);
        if (rootFraction !== undefined) {
            return Math.sqrt(rootFraction.value);
        }

        return value;
    }
Corrects a value to a nearby simple fraction or root thereof, such as sqrt(1/2), so it can be printed compactly.
@param {!number} value The value to round.
@param {!number} epsilon The maximum offset error introduced by the rounding.