cm0002@lemmy.zip to Programmer Humor@programming.dev · 12 days agoMore code = more betterlemmy.zipimagemessage-square94fedilinkarrow-up1665arrow-down116
arrow-up1649arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 12 days agomessage-square94fedilink
minus-squareolenkoVD@lemmy.dbzer0.comlinkfedilinkarrow-up1·12 days agoMake sure you initialize x with x=x/x-x/x for better precision
minus-squareoptional@sh.itjust.workslinkfedilinkarrow-up1·8 days agoJust add // @TODO find out why this crashes our application sometimes to fix that issue
Make sure you initialize x with
x=x/x-x/xfor better precisionWhat if it’s already 0?
Just add
// @TODO find out why this crashes our application sometimesto fix that issue