]> granicus.if.org Git - python/commit
Bug #133297: cmath.asin is the same as cmath.asinh.
authorTim Peters <tim.peters@gmail.com>
Wed, 21 Feb 2001 03:22:39 +0000 (03:22 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 21 Feb 2001 03:22:39 +0000 (03:22 +0000)
commitedf2210221f2803dfea62493ebff5eafd5cbc851
tree76976cc3e64ba7608471e7c9b67cddc58792840b
parentcf393f3fd9759ffac71c816f97ea01780848512c
Bug #133297:  cmath.asin is the same as cmath.asinh.
The bug report title isn't correct, but was on the right track.
Rev 2.13 applied a patch intended to improve asinh and acosh, but the
author mistakenly replaced the body of asin with their new code for asinh.
See bug report for all the gory details.
This patch: (a) puts the "new" (as of 2.13) asinh code into the asinh
function; and, (b) repairs asin via what Abramowitz & Stegun say it should
be (which is probably the same as what 2.12 did for asin, although I got
tired of matching parentheses before being 100% sure of that -- and I don't
care!  The source of the old code is a mystery, and I *know* why I picked
the new code.).
Modules/cmathmodule.c