We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fc6eac commit d29d2d6Copy full SHA for d29d2d6
base/floatfuncs.jl
@@ -97,9 +97,8 @@ julia> round(357.913; sigdigits=4, base=2)
97
Rounding to specified digits in bases other than 2 can be inexact when
98
operating on binary floating point numbers. For example, the [`Float64`](@ref)
99
value represented by `1.15` is actually *less* than 1.15, yet will be
100
- rounded to 1.2.
+ rounded to 1.2. For example:
101
102
- # Examples
103
```jldoctest; setup = :(using Printf)
104
julia> x = 1.15
105
1.15
0 commit comments