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 staticfloat committed Dec 22, 2022
1 parent b0b9948 commit dcac96e
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 dcac96e

Please sign in to comment.