Comment on Zero to hero
bi_tux@lemmy.world 7 months ago
zero is positive
-dev
Don’t explain the ieee floating point standard to mathematicians from within punching distance.
0 == -0 but also 0 > -0 1/0 == 2/0 but 1/0 != 1/(-0) not(x<y) and not(x>y) and not(x==y) where x is NaN x!=x where x is NaN
0 == -0
0 > -0
1/0 == 2/0
1/0 != 1/(-0)
not(x<y) and not(x>y) and not(x==y)
x
NaN
x!=x
anton@lemmy.blahaj.zone 7 months ago
Don’t explain the ieee floating point standard to mathematicians from within punching distance.
spoiler
0 == -0
but also0 > -0
1/0 == 2/0
but1/0 != 1/(-0)
not(x<y) and not(x>y) and not(x==y)
wherex
isNaN
x!=x
wherex
isNaN