def METHOD_NAME(equal_nan):
    # If equal_nan is True,
    # In Numpy, it pass
    # In cuNumeric, it raises NotImplementedError
    values = [np.inf, -np.inf, np.nan, 0.0, -0.0]
    pairs = tuple(combinations_with_replacement(values, 2))
    in1_np = np.array([x for x, _ in pairs])
    in2_np = np.array([y for _, y in pairs])
    in1_num = num.array(in1_np)
    in2_num = num.array(in2_np)
    out_np = np.isclose(in1_np, in2_np, equal_nan=equal_nan)
    out_num = num.isclose(in1_num, in2_num, equal_nan=equal_nan)
    assert np.array_equal(out_np, out_num)