def sup_str_to_num(support_str):
    """Converts a support string into usable numbers."""

    mn = -1.0 if support_str == "-1->1" else 0.0
    mx = 255.0 if support_str == "0->255" else 1.0

    return mn, mx