alphacyberranger to Programmer [email protected]English • 10 months agoJavalemmy.worldimagemessage-square88fedilinkarrow-up1577arrow-down147
arrow-up1530arrow-down1imageJavalemmy.worldalphacyberranger to Programmer [email protected]English • 10 months agomessage-square88fedilink
minus-squarelarvydelink1•10 months agoYea but at those values floating points can’t represent fractions anyway
minus-square@[email protected]linkfedilink1•10 months agoExactly. So if cast to int you’d either get an error or 0 for everything above a certain value.
Yea but at those values floating points can’t represent fractions anyway
Exactly. So if cast to int you’d either get an error or 0 for everything above a certain value.