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? ¯\_(ツ)_/¯
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?
¯\_(ツ)_/¯