I'm storing the result of ping between two hosts and measuring it over a
long period of time. I have 10+ million ping replies, in order to save
space I'm converting the them from float64 (8 bytes) to float32 (4 bytes)
before I send them off to persistence. When I pull them back out I noticed
some slight differences in average and std deviation, which I traced back
to my conversion of a float32 (storage format) to float64 (calculation
This might not be Go specific but it's the first time I've noticed this
behavior. Maybe I'm just not aware of how floats convert!
Is my assumption wrong that up-converting a float from 32 to 64 *shouldn't*
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.