import math


def sym_ceil(x, tol=1e-08):
    """Round down for negative, round up for positive."""
    if abs(x - round(x)) < tol:
        return round(x)
    elif x > 0:
        return math.ceil(x)
    else:
        return math.floor(x)