Red@reddthat.com to linuxmemes@lemmy.worldEnglish · 7 months agoCode interviews for a PHP developer rolesreddthat.comimagemessage-square128fedilinkarrow-up1350arrow-down122
arrow-up1328arrow-down1imageCode interviews for a PHP developer rolesreddthat.comRed@reddthat.com to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square128fedilink
minus-squarehope@lemmy.worldlinkfedilinkarrow-up9·7 months agoIs it? I would expect someone to come up with either toggling a variable back and forth for even/odd, or counting by 2s, heck, treat it as a floating point, divide by two, and search the string representation for a period or something!
minus-squaresntx@lemm.eelinkfedilinkarrow-up1·7 months agoI feel like the floating point suggestion would backfire quickly due to imprecisions.
Is it? I would expect someone to come up with either toggling a variable back and forth for even/odd, or counting by 2s, heck, treat it as a floating point, divide by two, and search the string representation for a period or something!
I feel like the floating point suggestion would backfire quickly due to imprecisions.