sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.34k stars 452 forks source link

bessel_Y returns NaN for negative argument at integer order #28806

Open 53959995-fd20-47f5-85e6-5e769b863d1f opened 4 years ago

53959995-fd20-47f5-85e6-5e769b863d1f commented 4 years ago

For integer orders, bessel_Y incorrectly returns NaN for negative arguments. For example

sage: bessel_Y(1,-1.)
NaN

while

sage: from mpmath import bessely
sage: bessely(1,-1)
mpc(real='0.78121282130028868', imag='-0.880101171489867')

Component: numerical

Keywords: special functions

Issue created by migration from https://trac.sagemath.org/ticket/28806

embray commented 4 years ago
comment:1

Ticket retargeted after milestone closed

mkoeppe commented 4 years ago
comment:2

Moving tickets to milestone sage-9.2 based on a review of last modification date, branch status, and severity.

mkoeppe commented 3 years ago
comment:4

Moving to 9.4, as 9.3 has been released.