3 ms·
If you use your own dataclasses (from dataclassy) instead of tuples, you can override this behaviour. Making NaNs compare unequal to themselves was a hack that
by eru 5y ago
If you use your own dataclasses (from dataclassy) instead of tuples, you can override this behaviour.
Making NaNs compare unequal to themselves was a hack that dates back from the time modern floats were first introduced.