Definition of floor

No, trunc uses RoundToZero.

julia> floor(-1.4)
-2.0

julia> trunc(-1.4)
-1.0
3 Likes