-
Notifications
You must be signed in to change notification settings - Fork 41
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
Feature request: support floating-point numbers #128
Comments
It won't be possible to use num-trait here I don't think. Floats have to be handled fundamentally differently in HDR histograms is my understanding. |
But could all floats be handled with the same implementation? I meant something like Unfortunately, we cannot do the same for integer histograms because |
Probably, though we could do that with a trait of our own that we implement just for |
If we implement our own trait, it will not work with other types implementing |
Yup, well aware of the implications. I'd want to see how the implementation ultimately pans out — I suspect going via |
Feature request: support floating-point numbers
See #91,
If possible, I suggest implementing a type-generic histogram using
num-traits
.The text was updated successfully, but these errors were encountered: