alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoJavalemmy.worldimagemessage-square38fedilinkarrow-up1359arrow-down130
arrow-up1329arrow-down1imageJavalemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square38fedilink
minus-squaresnake_baitman@lemmy.sdf.orglinkfedilinkarrow-up10·1 year agoThe CPU has to do real work to convert between float and int types. Returning an int type would just be giving the CPU extra work to do for no reason
The CPU has to do real work to convert between float and int types. Returning an int type would just be giving the CPU extra work to do for no reason