Skip to content
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

airy function exhibits inaccuracies for negative inputs #25

Open
jacksonvanover opened this issue Feb 6, 2020 · 0 comments
Open

airy function exhibits inaccuracies for negative inputs #25

jacksonvanover opened this issue Feb 6, 2020 · 0 comments

Comments

@jacksonvanover
Copy link

jacksonvanover commented Feb 6, 2020

The airy function appears to exhibit larger and larger inaccuracies for negative inputs with increasing magnitudes when compared to mpmath and gsl's implementations which agree (up to 14 significant digits):

evaluating airy(-1):

  • gsl/mpmath give 0.53556088329235207
  • jmat gives 0.5355608832923521

evaluating airy(-10):

  • gsl/mpmath give 0.04024123848644407
  • jmat gives 0.03920869208237318

evaluating airy(-10.039):

  • gsl/mpmath give 0.00117947085303331
  • jmat gives 0.0001427415208784767

evaluating airy(-10.0392):

  • gsl/mpmath give 0.00097859799568954
  • jmat gives -0.00005811188429199858

evaluating airy(-10.03923511):

  • gsl/mpmath give 0.00094333472274730
  • jmat gives -0.00009337169944926118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant