verement / lambdamoo

The LambdaMOO server (with Unicode support)
http://codepoint.the-b.org/
18 stars 2 forks source link

Bessel functions j(n, x) and y(n, x) are broken for n ∉ {0, 1} #11

Open verement opened 10 years ago

verement commented 10 years ago

The implementation of j(n, x) for n ≠ 0 and n ≠ 1 passes the arguments to jn() in the wrong order.

The implementation of y(n, x) for n ≠ 0 and n ≠ 1 calls jn() instead of yn(), and passes the arguments in the wrong order.