We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd81de commit f6f4e40Copy full SHA for f6f4e40
src/sage/rings/real_double.pyx
@@ -1522,7 +1522,7 @@ cdef class RealDoubleElement(FieldElement):
1522
def round(self):
1523
"""
1524
Round ``self`` to the nearest integer.
1525
-
+
1526
This uses the convention of rounding half to even
1527
(i.e., if the fractional part of ``self`` is `0.5`, then it
1528
is rounded to the nearest even integer).
src/sage/rings/real_mpfr.pyx
@@ -2992,7 +2992,7 @@ cdef class RealNumber(sage.structure.element.RingElement):
2992
2993
Round ``self`` to the nearest representable integer, rounding halfway
2994
cases away from zero.
2995
2996
.. NOTE::
2997
2998
The rounding mode of the parent field does not affect the result.
0 commit comments