import math


def are_fp_pairs_close(tuptup1, tuptup2):
    """
    Compare two objects to see if their numerical values are identical within
    a small margin of error. The objects each contain a pair of frequency-phase
    tuples, so they each have 4 values that need to be compared against the
    other object.
    """
    return (math.isclose(tuptup1[0][0], tuptup2[0][0]) and
            math.isclose(tuptup1[0][1], tuptup2[0][1]) and
            math.isclose(tuptup1[1][0], tuptup2[1][0]) and
            math.isclose(tuptup1[1][1], tuptup2[1][1]))