Fix Luau NaN tests

This commit is contained in:
Rerumu 2023-11-05 14:50:29 -05:00
parent e63f309490
commit b18365a7e4

View File

@ -64,9 +64,9 @@ end
local loaded = {}
local linked = {}
local LUA_NAN_ARITHMETIC = -(0 / 0)
local LUA_NAN_CANONICAL = -(0 / 0)
local LUA_NAN_DEFAULT = -(0 / 0)
local LUA_NAN_ARITHMETIC = 0 / 0
local LUA_NAN_CANONICAL = 0 / 0
local LUA_NAN_DEFAULT = 0 / 0
local LUA_INFINITY = math.huge
local function is_number_equal(lhs, rhs)