rest25/tutorial/floatingpoint.rst => rest262/tutorial/floatingpoint.rst
127from the floating-point hardware, and on most machines are on the order of no
128more than 1 part in 2\*\*53 per operation.  That's more than adequate for most
129tasks, but you do need to keep in mind that it's not decimal arithmetic, and
130that every float operation can suffer a new rounding error.
131
132While pathological cases do exist, for most casual use of floating-point
133arithmetic you'll see the result you expect in the end if you simply round the
134display of your final results to the number of decimal digits you expect.
t135-:func:`str` usually suffices, and for finer control see the discussion of
t135+:func:`str` usually suffices, and for finer control see the :meth:`str.format`
136-Python's ``%`` format operator: the ``%g``, ``%f`` and ``%e`` format codes
136+method's format specifiers in :ref:`formatstrings`.
137-supply flexible and easy ways to round float results for display.
138
139
140.. _tut-fp-error:
141
142Representation Error
143====================
144
145This section explains the "0.1" example in detail, and shows how you can perform
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op