HdrHistogram / hdrhistogram-go

A pure Go implementation of Gil Tene's HDR Histogram.
MIT License
439 stars 64 forks source link

Use Go's built-in math whenever possible #6

Closed zenazn closed 9 years ago

zenazn commented 9 years ago

Go's math package includes functions like Pow10 and Log2, which we may as well make use of.

I'm not familiar enough with either Go's stdlib or the IEEE floating point spec to know if these transformations are guaranteed to produce identical results. But the tests seem to pass? ¯\_(ツ)_/¯