eris
eris copied to clipboard
Do not fail test if the unpersisted value for NaN equals 0/0.
If Lua targets a fixed point number system (like PICO-8 does) then the result of 0/0 may not follow the IEEE NaN semantics where x ~= x. In order to check that the value was properly persisted, we allow it to be equal to 0/0.