nifty@lemmy.world to Programmer Humor@programming.dev · 8 months agoStop using floatslemmy.worldimagemessage-square73fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageStop using floatslemmy.worldnifty@lemmy.world to Programmer Humor@programming.dev · 8 months agomessage-square73fedilink
minus-squareLmaydev@programming.devlinkfedilinkarrow-up0·edit-28 months agoI feel like that’s adding overhead to every operation to catch the few operations that could result in a nan. But I guess you could provide alternative safe versions of float operations to account for this. Which may be what you meant thinking about it lol
I feel like that’s adding overhead to every operation to catch the few operations that could result in a nan.
But I guess you could provide alternative safe versions of float operations to account for this. Which may be what you meant thinking about it lol