import fractions


def _add_neg_to_rep(frac_val: fractions.Fraction, rep: str) -> str:
    """
    _add_neg_to_rep adds a negative sign to a string tc representation if the value is
    less than 0.
    """
    if frac_val >= 0:
        return rep

    return "-" + rep