fossilesque@mander.xyzM to Science Memes@mander.xyz • 5 months agoMagic πimagemessage-square7 fedilinkarrow-up1239
arrow-up1239imageMagic πfossilesque@mander.xyzM to Science Memes@mander.xyz • 5 months agomessage-square7 Commentsfedilink
minus-squareblind3rdeye@lemm.eehexbear13·5 months agoYou get that level of precision in a standard "double" floating point number. So that's basically the normal level of precision you get without trying. linkfedilink
minus-squareradiofreeval [any]hexbear7·5 months agoM_PI in math.h is like 20 digits. I'm surprised they just don't do that. link
"Only" using 15 digits is still pretty insane
You get that level of precision in a standard "
double
" floating point number. So that's basically the normal level of precision you get without trying.M_PI
inmath.h
is like 20 digits. I'm surprised they just don't do that.