Skip to content

Commit 6cec4b8

Browse files
committed
Use float constants, not expressions, for simple values.
.. as suggested in review
1 parent 359ac19 commit 6cec4b8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/math.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ Trigonometric functions
620620

621621
.. function:: asinpi(x)
622622

623-
Return the arc sine of *x*, in half-turns. The result is between ``-1/2`` and
624-
``1/2``.
623+
Return the arc sine of *x*, in half-turns. The result is between ``-0.5`` and
624+
``0.5``.
625625

626626
.. versionadded:: next
627627

@@ -634,8 +634,8 @@ Trigonometric functions
634634

635635
.. function:: atanpi(x)
636636

637-
Return the arc tangent of *x*, in half-turns. The result is between ``-1/2`` and
638-
``1/2``.
637+
Return the arc tangent of *x*, in half-turns. The result is between ``-0.5`` and
638+
``0.5``.
639639

640640
.. versionadded:: next
641641

@@ -656,8 +656,8 @@ Trigonometric functions
656656
The vector in the plane from the origin to point ``(x, y)`` makes this angle
657657
with the positive X axis. The point of :func:`atan2pi` is that the signs of both
658658
inputs are known to it, so it can compute the correct quadrant for the angle.
659-
For example, ``atanpi(1)`` and ``atan2pi(1, 1)`` are both ``1/4``, but
660-
``atan2pi(-1, -1)`` is ``-3/4``.
659+
For example, ``atanpi(1)`` and ``atan2pi(1, 1)`` are both ``.25``, but
660+
``atan2pi(-1, -1)`` is ``-.75``.
661661

662662
.. versionadded:: next
663663

0 commit comments

Comments
 (0)