Closed rv3r closed 11 months ago
NaN equality has an issue (#1576), and PR to fix (#1577).
The Infinity one is actually the same, 0/0 => NaN == anything.
Yes, this is a duplicate of #1576 I think.
walk around:
you can create an function is_nan(x)
by yourself.
if type(x) is number and str(x) is NaN
Bug or WAI?