-
Notifications
You must be signed in to change notification settings - Fork 27
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
Rational benchmark #195
Comments
What type of operations would you like to be benchmarked for the rational type? |
Actually I would like to benchmark exact geometry based on rationals, as done with gmp in CGAL package. I was wondering if mp++ could compete favorably. This implies +,-,*,/ operations at least. |
Ok, so benchmarking arithmetic operations against GMP's rational. What kind of limb/bit sizes are you normally using for numerator/denominator? Do your numbers usually fit, say, in 128bit of storage or do they need more? |
128bit might be enough in a wide range of use cases. But, actually, exact geometry is only interesting in very degenerate cases, where more precision might be needed. To answer shortly, impossible to assert 128 bit will be enough in all cases. |
By the way, I do really appreciate your interest in my problem and look forward to compare your mp++ vs gmp benchmark and, afterwards, gmp-based geometry vs. mp++-based geometry becnhmarks. |
Add a new benchmarh dedicated to rational number type
The text was updated successfully, but these errors were encountered: