nifty to Programmer [email protected] • 9 months agoStop using floatsimagemessage-square85arrow-up1783arrow-down135
arrow-up1748arrow-down1imageStop using floatsnifty to Programmer [email protected] • 9 months agomessage-square85
minus-square@[email protected]linkfedilinkEnglish25•9 months agoI know this is in jest, but if 0.1+0.2!=0.3 hasn’t caught you out at least once, then you haven’t even done any programming.
minus-square@[email protected]linkfedilink8•9 months agoIMO they should just remove the equality operator on floats.
minus-square@[email protected]linkfedilink5•9 months agoThat should really be written as the gamma function, because factorial is only defined for members of Z. /s
I know this is in jest, but if 0.1+0.2!=0.3 hasn’t caught you out at least once, then you haven’t even done any programming.
Me making my first calculator in c.
IMO they should just remove the equality operator on floats.
what if i add more =
That should really be written as the gamma function, because factorial is only defined for members of Z. /s