jroid8@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoknow the features of your languagelemmy.worldimagemessage-square136linkfedilinkarrow-up1562arrow-down120
arrow-up1542arrow-down1imageknow the features of your languagelemmy.worldjroid8@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square136linkfedilink
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up3arrow-down2·edit-22 years agoThis must be a custom random function, because it’s standard for random to return a float between 0-1 exclusive. Maybe you meant to multiply by 100 instead of modulo.
minus-squaredrolex@sopuli.xyzlinkfedilinkarrow-up8·2 years agoI think for once I didn’t fuck up. https://cplusplus.com/reference/cstdlib/rand/
This must be a custom random function, because it’s standard for random to return a float between 0-1 exclusive. Maybe you meant to multiply by 100 instead of modulo.
I think for once I didn’t fuck up.
https://cplusplus.com/reference/cstdlib/rand/