Julia Programming Language
Definition of floor
New to Julia
stevengj
September 9, 2020, 4:38pm
3
No,
trunc
uses
RoundToZero
.
julia> floor(-1.4) -2.0 julia> trunc(-1.4) -1.0
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Behavior of floor(), ceiling(), etc
General Usage
10
16369
June 9, 2017
Strange round() results?
New to Julia
8
4613
June 13, 2020
Incorrect result from `floor` function
General Usage
10
687
November 30, 2021
Incorrect compute for rounding function round(x)
General Usage
numbers
12
2044
September 19, 2018
Question about round?
General Usage
3
333
May 23, 2022