Skip to content

Commit

Permalink
Fix incorrect code block in rounding modes docs (#18137)
Browse files Browse the repository at this point in the history
The `::` syntax appearing before the `doctest::` block was causing
the doctest not be rendered correctly.
(cherry picked from commit ec52837)
  • Loading branch information
MichaelHatherly authored and tkelman committed Aug 20, 2016
1 parent a61909d commit fd5bfed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/manual/integers-and-floating-point-numbers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,11 +505,10 @@ Rounding modes
If a number doesn't have an exact floating-point representation, it must be
rounded to an appropriate representable value, however, if wanted, the manner
in which this rounding is done can be changed according to the rounding modes
presented in the `IEEE 754 standard <https://en.wikipedia.org/wiki/IEEE_754-2008>`_::
presented in the `IEEE 754 standard <https://en.wikipedia.org/wiki/IEEE_754-2008>`_.

.. doctest::


julia> x = 1.1; y = 0.1;

julia> x + y
Expand Down

0 comments on commit fd5bfed

Please sign in to comment.