cannedtuna@lemmy.world to Science Memes@mander.xyzEnglish · 9 days agoRepeating of courselemmy.worldimagemessage-square32linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageRepeating of courselemmy.worldcannedtuna@lemmy.world to Science Memes@mander.xyzEnglish · 9 days agomessage-square32linkfedilink
minus-squareKairos@lemmy.todaylinkfedilinkEnglisharrow-up0·9 days agoFloats aren’t fractions. Use a rational number library if you actually need a fraction.
minus-squarefloquant@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up0·9 days agoIsn’t this a looks inside floating point binary representation in memory situation?
minus-squareKairos@lemmy.todaylinkfedilinkEnglisharrow-up0·9 days agoI don’t know. It felt better to bring it up here than replying to the post, I think.
Floats aren’t fractions. Use a rational number library if you actually need a fraction.
Isn’t this a looks inside floating point binary representation in memory situation?
Why you tell me this?
I don’t know. It felt better to bring it up here than replying to the post, I think.