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

It depends on the default print format. The example string I mentioned is pulled from what np.savetxt() does (fmt='%.18e') and there isn't any precision loss in that number. But I admit I'm not a sprintf() guru.

In practice numbers with that much precision is overkill and verbose so tools don't print float32s to that level of precision.



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

Search: