Hacker News new | ask | show | jobs
by rogpeppe1 4075 days ago
From the article:

    In order to do evil things like convert raw bytes to floats,
    I chose to use the “unsafe” package
FWIW you don't need unsafe to do that. encoding/binary + http://golang.org/pkg/math/#Float64frombits will do the job just fine.