This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson
Date 2020-07-08.17:19:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594228762.89.0.0337466076831.issue41245@roundup.psfhosted.org>
In-reply-to
Content
The documentation for the cmath module is misleading on the behaviour near branch cuts. For example, the documentation for cmath.acos says:

   Return the arc cosine of x. There are two branch cuts: One
   extends right from 1 along the real axis to ∞, continuous
   from below. The other extends left from -1 along the real
   axis to -∞, continuous from above.

That "continuous from below" and "continuous from above" language is misleading; in fact what happens on the vast majority of systems (those for which the floating-point format used is IEEE 754 binary64), if the imaginary part of x is zero, the sign of x is used to determine which side of the branch cut x lies.
History
Date User Action Args
2020-07-08 17:19:22mark.dickinsonsetrecipients: + mark.dickinson
2020-07-08 17:19:22mark.dickinsonsetmessageid: <1594228762.89.0.0337466076831.issue41245@roundup.psfhosted.org>
2020-07-08 17:19:22mark.dickinsonlinkissue41245 messages
2020-07-08 17:19:22mark.dickinsoncreate