Kajika@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agoFloating-point arithmeticlemmy.mlimagemessage-square24fedilinkarrow-up1730arrow-down15cross-posted to: [email protected]
arrow-up1725arrow-down1imageFloating-point arithmeticlemmy.mlKajika@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agomessage-square24fedilinkcross-posted to: [email protected]
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up3·edit-211 months agoIf (var.nan){var = 0} my beloved.
If (var.nan){var = 0} my beloved.
It also depends on the context