alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 年前Javalemmy.worldimagemessage-square91fedilinkarrow-up1588arrow-down147
arrow-up1541arrow-down1imageJavalemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 年前message-square91fedilink
minus-squarelarvyde@sh.itjust.workslinkfedilinkarrow-up1·1 年前Yea but at those values floating points can’t represent fractions anyway
minus-squareLmaydev@programming.devlinkfedilinkarrow-up1·1 年前Exactly. 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.