-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add big_int_of_float #105
Add big_int_of_float #105
Conversation
I see that BigInt has no (or no longer) a @liyishuai, the |
|
As far as I can remember, until recently I was not comfortable with FP arithmetic and thought that conversions from "inexact" FP numbers to "exact" big integers made no sense. ("Inexact numbers" and "exact numbers" are Scheme terminology, even though Scheme does have "inexact to exact" conversions.) So, that's probably why I chose to leave out Should we add it today? We do have This said, I think the use of FP numbers in QuickChick/QuickChick#245 is misplaced. What QuickChick wants is a randomly-generated |
Yes, there is. Add to your project an OCaml file Or, use |
If there is some
These methods require the extracted code to link with OCaml file, which is painful for Coq plugins. That's why coq/coq#8252 removed that external |
OK. The original need for this seems gone, and we don't need to add the function for compatibility reasons as it's not in |
No description provided.