eris icon indicating copy to clipboard operation
eris copied to clipboard

Do not fail test if the unpersisted value for NaN equals 0/0.

Open samhocevar opened this issue 5 years ago • 0 comments

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.

samhocevar avatar Feb 12 '20 20:02 samhocevar