• Tim Peters's avatar
    Bug #133297: cmath.asin is the same as cmath.asinh. · edf22102
    Tim Peters yazdı
    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.).
    edf22102
cmathmodule.c 7.85 KB