Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 days agoIEEE 754cdn.fosstodon.orgimagemessage-square42fedilinkarrow-up1808arrow-down17file-textcross-posted to: [email protected]
arrow-up1801arrow-down1imageIEEE 754cdn.fosstodon.orgEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 days agomessage-square42fedilinkfile-textcross-posted to: [email protected]
minus-squarelone_faerie@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up10·5 days agoA lot of work has gone into making floating point numbers efficient and they cover 99% of use cases. In the rare case you really need perfect fractional accuracy, it’s not that difficult to implement as a pair of integers.
A lot of work has gone into making floating point numbers efficient and they cover 99% of use cases. In the rare case you really need perfect fractional accuracy, it’s not that difficult to implement as a pair of integers.
99.000004%