Kajika@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agoFloating-point arithmeticlemmy.mlimagemessage-square25fedilinkarrow-up1725arrow-down15cross-posted to: programmer_humor@programming.dev
arrow-up1720arrow-down1imageFloating-point arithmeticlemmy.mlKajika@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agomessage-square25fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up3·edit-27 months agoIf (var.nan){var = 0} my beloved.
If (var.nan){var = 0} my beloved.
It also depends on the context