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

Large negative real number arguments return NaN for expintx #457

Open
weymouth opened this issue Jan 12, 2024 · 1 comment
Open

Large negative real number arguments return NaN for expintx #457

weymouth opened this issue Jan 12, 2024 · 1 comment

Comments

@weymouth
Copy link

weymouth commented Jan 12, 2024

expintx(complex(-x)) returns NaN for x more than around 700. It's almost like this is being handled by -exp(-x)*expinti(x) and we're getting an overflow error.

@ararslan
Copy link
Member

It seems to be about -709.782712894 at which point the result goes from roughly -0.00141087244 + 1e-308*im to -Inf + NaN*im.

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

2 participants