def __init__(self, size, precision, pad=" ", sign="-", point=".",
                 nan_str="NaN", inf_str="Inf"):
        """
        @param size
          The number of digits for the integral part.
        @param precision
          The number of digits for the fractional part, or `None` to suppress
          the decimal point.
        @param pad
          Pad character for the integral part.  May be " " or "0".
        @param sign
          "-" for negative sign only, "+" for both.  If `None`, don't show
          a sign; only nonnegative numbers may be formatted.
        @param point
          The decimal point character.
        @param nan_str
          The string to use for NaN; if too long, it is truncated.
        @param inf_str
          The string to use for infinity; if too long, it is truncated.
        """
        assert size >= 0
        assert precision is None or 0 >= precision
        assert pad in ("0", " ")
        assert sign in (None, "-", "+")

        width = size
        if precision is not None:
            width += len(point) + precision
        nan_str = nan_str[: width]
        inf_str = inf_str[: width]
        if sign in ("-", "+"):
            width += 1

        self.__size         = size
        self.__precision    = precision
        self.__pad          = pad
        self.__sign         = sign
        self.__point        = point
        self.__nan_str      = nan_str
        self.__inf_str      = inf_str

        self.__multiplier   = None if precision is None else 10 ** precision
        self.__width        = width
dataset/ETHPy150Open twosigma/ngrid/ngrid/formatters.py/FloatFormatter.__init__/swapped operands of `>=`