def METHOD_NAME():
    assert floor(x).series(x, y, 100) == floor(y)
    assert ceiling(x).series(x, y, 100) == ceiling(y)
    assert floor(x).series(x, pi, 100) == 3
    assert ceiling(x).series(x, pi, 100) == 4
    assert floor(x).series(x, n=100) == 0
    assert ceiling(x).series(x, n=100) == 1
    assert floor(-x).series(x, n=100) == -1
    assert ceiling(-x).series(x, n=100) == 0