-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Feature request: support floating-point numbers
See #91,
Floating point values can be supported, but they are basically a completely separate implementation that wraps an inner integer-based histogram. I'd be neat to port
DoubleHistogramto Rust as well, but unfortunately it's a larger effort that I don't have time for myself at the moment. If you want to give it a try, I'd be happy to try and review? It should be a fairly straightforward translation of the Java version I linked above! I wonder if we may even be able to have a singleHistogramtype by providing inherent implementations forHistogram<f64>... Not entirely clear. Initially I'd just have a separateDoubleHistogramtype.
If possible, I suggest implementing a type-generic histogram using num-traits.
Metadata
Metadata
Assignees
Labels
No labels