Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Note that option 3 is the approach the 'rand' package took (see https://golang.org/pkg/math/rand/#Float32 ).

I guess not so much definitely not the "Go way", just not the go way for the math library.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: