From dcac96e10a85439df358e7ffc06d7dbe708bd71d Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Tue, 19 Apr 2022 04:40:13 -0400 Subject: [PATCH] Update Example header in admonition to render PDF better, see #44866. (#45026) (cherry picked from commit d29d2d622ae416c3e5ba82cb55ef0535a75fe8e8) --- base/floatfuncs.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/base/floatfuncs.jl b/base/floatfuncs.jl index 2bca2989bab0b3..2552c5f1c66e73 100644 --- a/base/floatfuncs.jl +++ b/base/floatfuncs.jl @@ -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