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.
  • Loading branch information
MichaelHatherly authored and simonbyrne committed Aug 19, 2016
1 parent 66bacec commit ec52837
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 ec52837

Please sign in to comment.