Skip to content

Commit

Permalink
Update Example header in admonition to render PDF better, see #44866. (
Browse files Browse the repository at this point in the history
…#45026)

(cherry picked from commit d29d2d6)
  • Loading branch information
ViralBShah authored and KristofferC committed May 16, 2022
1 parent 294b142 commit 80ffc2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/floatfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ julia> round(357.913; sigdigits=4, base=2)
Rounding to specified digits in bases other than 2 can be inexact when
operating on binary floating point numbers. For example, the [`Float64`](@ref)
value represented by `1.15` is actually *less* than 1.15, yet will be
rounded to 1.2.
rounded to 1.2. For example:
# Examples
```jldoctest; setup = :(using Printf)
julia> x = 1.15
1.15
Expand Down

0 comments on commit 80ffc2e

Please sign in to comment.