-
Notifications
You must be signed in to change notification settings - Fork 1
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
Gsoc2021 quad float #66
Conversation
add new dummy class cpp_quad_float
support for subtraction
add compare() func add specialization for numeric_limits add constructors from numeric and float types add casts
Hi @sinandredemption I will follow your work here. You will like the following: Check this out a preliminary first timing indication at #67 |
Hi @sinandredemption I was looking at this PR and it is marked as a draft PR. Do you want review? Or simply keep going as draft? |
Hi @sinandredemption I took the liberty of (hopefully) improving or maybe fixing The Those tests in |
In the case of |
Do you have any idea what is going on with add/sub/mul/div for |
Unfortunately not. I tried to look into at (though not extremely vigorously) but couldn't find anything. See also this comment.
Yes. But in the string round tripping case, the EDIT: We can investigate further in #20 once we have a solid Boost-ified backend in place. |
That seems perhaps OK. I would, however, be concerned that this might be the wrong place to fiddle around with the |
Pardon me for getting lost in the flow of other discussions. I actually am looking for review, as might have been apparent by now. I will change the status of this PR soon enough. |
Yes, we can do that. Changing it back ASAP. |
Hi @sinandredemption I have no further review points. Let's go with this and refine as we find steps in the future. I find that the quick fix on rd_string could be improved or perhaps I should better fix that on the Boost-utility-generic-level. But for now, full speed ahead. With my reduction of the exp10 range in the test code, let's move forward... |
Thank you Fahad. Great work on draft/first-impl of the mighty quad-float! Cc: @sinandredemption and @cosurgi |
Hi @sinandredemption I made a few more fixe(s) for all kinds of picky compilers. Also tightened up some add/sub/mul/div test tolerances, and added Boost-like Let's see how it plays in CI... |
The tolerances bits have been set to zero except for Could it be because of the extra precision loss in Makes me wonder, what it is that we are doing differently in CC: @ckormanyos @cosurgi |
Could a specialized |
It's all running in my branch, essentially based exclusively on your results but with more clear tolerance parameters on some tests. The factor of 10 is what I saw from the string conversoin (I had thought). Anyway, CI in my branch is running with both df as well as qf Boost-like arithmetic tests and our own add/sub/mul/div/sqrt tests. @sinandredemption maybe take a look there, in my branch where I straightened out a bunch of stuff...?
Yes. This will be one of the things high on the list to specialize. I would rather specialize |
@sinandredemption trust your already excellent work, Fahad. I just did a bit of tuning and cleaning in my branch. I've also taken quad-float down the road on a few spec funcs and it's looking good. I don't thing you should stray too far away... |
No description provided.