-
Notifications
You must be signed in to change notification settings - Fork 58
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
Three-arg arithmetic for Arb types instead changes precision #1925
Comments
Ah, the pointless lowering to |
Another indicator to remove it: in composite types like A workaround to get the same is |
I still want to do |
Ok. then I'll go ahead and change all positional arguments |
perfect, thanks I wonder if we need to deprecate this properly? Or would the argument against it be that it was not documented? |
I really wanna get rid of the wrong behavior as in the initial message, so at least for the arithmetic this should go completely. For things like |
another question: for functions like |
yes, I agree that for the arithmetic functions this is a bugfix. I personally don't mind if you switch to I think |
the result in the last line is
x+y
with a precision of2
, instead of the expectedx+y+2
withprecision(Balls)
.Having
prec
as a third positional argument is not documented anywhere and makes things like #1812 unnecessarily complicated asprec
has to be passed around all the time.I thus propose to remove this argument instead of making it a positional one. I'll probably already do this as part of #1924.
The text was updated successfully, but these errors were encountered: