import math


def _(element: float):
    """
    Handles Fortran NINT style rounding of a floating point value. Whether the
    number is positive or negative, the integer portion of the number is
    increased (without regard to sign) if the decimal portion of the number
    is >= 0.5
    """
    return (
        math.floor(element)
        if (element >= 0) ^ (math.modf(abs(element))[0] >= 0.5)
        else math.ceil(element)
    )