-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
incorrect square function #188
Comments
Also, in this function, I think (not 100% sure though) that one could ommit |
@nschaeff Thank you for the considered comments. |
Strange, I just tried a few numbers and all of them required renormalization. For instance: |
still ..
|
The fact that you have the HI result not equal to one, means there has been some renormalization, but it is not inside the square fucntion (as you can see, it returns zhi = ahi*ahi = 1 in this case). |
As far as I understand, the
square_dd_dd
function returns a pair of values that may overlap:For instance if zlo is zero, 2*alo overlaps with ahi.
A call to Fast2Sum is needed at the end to ensure "normalization".
DoubleFloats.jl/src/math/ops/op_dd_dd.jl
Line 45 in c085185
The text was updated successfully, but these errors were encountered: