Red@reddthat.com to linuxmemes@lemmy.worldEnglish · 8 months agoCode interviews for a PHP developer rolesreddthat.comimagemessage-square126fedilinkarrow-up1349arrow-down121
arrow-up1328arrow-down1imageCode interviews for a PHP developer rolesreddthat.comRed@reddthat.com to linuxmemes@lemmy.worldEnglish · 8 months agomessage-square126fedilink
minus-squarehope@lemmy.worldlinkfedilinkarrow-up9·8 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.