Closed
Description
As I mentioned in #139, there are no rounding functions for Fixed
.
julia> round(0.502N0f8)
1.0N0f8
julia> round(0.500Q0f7)
ERROR: MethodError: no method matching round(::Fixed{Int8,7}, ::RoundingMode{:Nearest})
An important difference between Normed
and Fixed
is that Normed
has no tie (or half) numbers, but Fixed
has.
So, I also think it is a good idea to support the 2nd argument (i.e. RoundingMode
) explicitly.
Metadata
Metadata
Assignees
Labels
No labels