Sgt_choke_n_stroke@lemmy.world to Engineering Memes@lemmy.worldEnglish · 1 year ago3 is my favorite number lollemmy.worldimagemessage-square8fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1image3 is my favorite number lollemmy.worldSgt_choke_n_stroke@lemmy.world to Engineering Memes@lemmy.worldEnglish · 1 year agomessage-square8fedilink
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·1 year agoI prefer approximating π=4
minus-squarejavasux@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoEasy, round to the nearest power of 2
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·1 year agothe trick is that I’m not rounding, I’m approximating. by taking pi=4, you make squares out of circles
I prefer approximating π=4
How do you round 3.14 to 4?
Easy, round to the nearest power of 2
By not giving a fuck.
=ceiling(pi(),1)
the trick is that I’m not rounding, I’m approximating. by taking pi=4, you make squares out of circles