import math


def isclose(a, b):
    """
    Checks approximate equality of floating-point numbers a, b.
    We add 1 to the numbers, since if a ~= b ~= 0, then relative tolerance will be zero.
    """
    return math.isclose(a + 1, b + 1)