-
-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bessel_Y is off by 3 ulps #17122
Comments
comment:1
The example is wrong, I get
Anyway, numerical evaluation of Bessel functions is done using mpmath, not mpfr. I guess the reason is that mpfr can only compute Note that you can access the mpfr functions directly using
|
This comment has been minimized.
This comment has been minimized.
comment:2
sorry, the value of Indeed MPFR can only handle integer n for Y(n,x), but it would better to call it in that case, |
comment:3
mpfr is also much faster... |
comment:4
Is there an MPFR function which can check if an |
comment:5
there is |
comment:6
I bumped into #17130 which I think should be fixed first (not by me). |
Dependencies: #17130 |
Branch: u/jdemeyer/ticket/17122 |
Author: Jeroen Demeyer |
Commit: |
New commits:
|
comment:9
I wish I could review that patch, but unfortunately since the change to git I don't know any more how Paul |
comment:10
I think it's sufficient to look at sagemath/sagetrac-mirror@bce4fb0 (the other commits come from #17130). |
Reviewer: Paul Zimmermann |
comment:11
this commit looks correct to me. Positive review. Paul |
Changed branch from u/jdemeyer/ticket/17122 to |
consider the following with Sage 6.0:
Given that MPFR provides correct rounding for bessel_Y (mpfr_y0) this should not happen.
Depends on #17130
Component: basic arithmetic
Author: Jeroen Demeyer
Branch/Commit:
bce4fb0
Reviewer: Paul Zimmermann
Issue created by migration from https://trac.sagemath.org/ticket/17122
The text was updated successfully, but these errors were encountered: