def sgn(el):
    """The standard sgn function.

    :param el: float input
    :return: sign of the number
    """

    if el < 0:
        return -1
    elif el == 0:
        return 0
    else:
        return 1