Skip to content

mp.asin(z).imag and fp.asin(z).imag use inconsistent sign choices when z.real > 1 and z.imag==0 #786

@pearu

Description

@pearu

As in the title. Reproducer:

>>> mpmath.mp.asin(2)
mpc(real='1.5707963267948966', imag='-1.3169578969248168')
>>> mpmath.fp.asin(2)                     # expected result
(1.5707963267948966+1.3169578969248166j)

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsenhancementnew feature requests (or implementation)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions