@classmethod
def compare(cls, a: float, b: float) ->int:
    """
        Return the signed difference between two angles (b-a), accounting
        for the
        fact that the shortest difference between them may be in different
        quadrants.
        :param a: the target angle
        :param b: the starting angle
        :return: (a-b) such that normalizeAngle(b + (a-b)) ==
        normalizeAngle(a)
               and -math.pi < (a-b) <=math.pi
        """
    d = a - b
    if abs(d) < cls.ATOL:
        return 0
    return -1 if d < 0 else 1
