def comp_min_value(qvec, signed=0):
    """
        Computes the mimimum real value given the fixed point representation
    """
    word_width = qvec[0]
    frac_width = qvec[1]
    min_val = -1 * 2.**(word_width - signed) / (2.**frac_width)
    if signed == 0:
        min_val = 0

    return min_val