Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agoIEEE 754cdn.fosstodon.orgimagemessage-square42linkfedilinkarrow-up1860arrow-down16file-text
arrow-up1854arrow-down1imageIEEE 754cdn.fosstodon.orgEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square42linkfedilinkfile-text
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up11·2 years 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.