-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Re-add Epick_without_intervals #4306
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
base: master
Are you sure you want to change the base?
Re-add Epick_without_intervals #4306
Conversation
This time, I made it with the right kernel base, I think.
Is the 'E' for "exact" true? It isn't clear where bignums appear in here. |
You are right. I messed up again. |
Mael had suggestions in #3939 (comment). |
MaelRL@88ee987 is a proof of concept of what I meant. I only modified Running 'Kernel_23/test/Kernel_23/Cartesian' gives:
|
Makes sense, but you will need a (trivial) functor for all remaining predicates to replace them with an exact version, not just a fallback for those that have a static filter. An alternative would be to decompose it into 2 wrappers: one that replaces all predicates with their exact counterpart, and one that interposes static filters on known predicates, but this split is probably not necessary. |
One simple way to get something like this is to modify Filtered_predicate and put everything but the last line of the body between |
PR #4495 would also benefit from the same mechanism of @mglisse Since |
The idea of a macro was first as a quick proof of concept, and second that the only point of Epick_without_interval (for users) is as a replacement for Epick on platforms where we cannot use intervals (no rounded operations), so it might as well be called Epick, controlled by some macros.
You can call it (I haven't looked at this since October, so I don't remember much, and I haven't looked at your other branch either, so don't take my comment as something insightful that needs to be analyzed) |
Is this PR ready for testing ? |
Travis fails |
The implementation is wrong. If I have time, I will enhance internal::Static_filters like I said above (I did part of it in the Filtered rational kernel), and it can be finished that way. |
Summary of Changes
New attempt for
Epick_without_intervals
. First attempt was #3939, reverted by commit bb640d2 in #4096.This time, I made it with the right kernel base, I think.
Release Management