-
Notifications
You must be signed in to change notification settings - Fork 1k
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
No-float policy for secp256k1 #683
Comments
For the record it was a hypothetical. I wasn't serious in using floats... (which we obviously should almost never use ever) |
No worries :) |
I know it was more or less a joke in your case! But it's just good to have these things explicit, so developers as well as users of the library have some certainly. |
I think secp256k1 needs an explicit no-floating point policy, like the Linux kernel. This means no use of
float
, and nodouble
(and nohalf
, nolong double
either).I mean for the main code; in the bench framework is fine, though with the assumption that it might be emulated and very slow.
(inspired by #658 (comment))
The text was updated successfully, but these errors were encountered: