Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoIEEE 754cdn.fosstodon.orgexternal-linkmessage-square22linkfedilinkarrow-up123arrow-down10file-textcross-posted to: [email protected]
arrow-up123arrow-down1external-linkIEEE 754cdn.fosstodon.orgEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square22linkfedilinkfile-textcross-posted to: [email protected]
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up2·1 year agoYou could choose a subset of fractions, though, and then round it to the nearest one. Maybe you could use powers of two as the denominator for easy hardware implementation. Oh wait, we’ve just reinvented floats.
You could choose a subset of fractions, though, and then round it to the nearest one. Maybe you could use powers of two as the denominator for easy hardware implementation. Oh wait, we’ve just reinvented floats.