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