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

Stack overflow from promote_type(ArbFloat{128}, BigFloat) #72

Closed
jlapeyre opened this issue Sep 16, 2024 · 2 comments
Closed

Stack overflow from promote_type(ArbFloat{128}, BigFloat) #72

jlapeyre opened this issue Sep 16, 2024 · 2 comments

Comments

@jlapeyre
Copy link

jlapeyre commented Sep 16, 2024

julia> promote_type(ArbFloat{128}, BigFloat)
ERROR: StackOverflowError:

You can see that the cause is that promote_rule is defined both ways, in one case ArbFloat{128} wins. In the other, BigFloat.

Version

  • [7e558dbc] ArbNumerics v1.5.1
  • Julia 1.10.5

Comments

This arose when I tried something like BigFloat(1) - ArbFloat(1).

@JeffreySarnoff
Copy link
Owner

JeffreySarnoff commented Sep 16, 2024 via email

@JeffreySarnoff
Copy link
Owner

JeffreySarnoff commented Sep 16, 2024 via email

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