Recently, I have discovered that 1.0e-323
is not considered a zero in Python but 1.0e-324
is. Is there a theoretical reason why the cut is actually made at 1.0e-324
? Maybe is stupid question, but without background in CS it is really intriguing to me.
a = 1.0e-323
a == 0
> False
a = 1.0e-324
a == 0
> True