Fix test NaN
sign
This commit is contained in:
parent
46c1dcd21f
commit
e6f1f7469f
@ -1,9 +1,9 @@
|
|||||||
local loaded = {}
|
local loaded = {}
|
||||||
local linked = {}
|
local linked = {}
|
||||||
|
|
||||||
local LUA_NAN_ARITHMETIC = 0 / 0
|
local LUA_NAN_ARITHMETIC = -(0 / 0)
|
||||||
local LUA_NAN_CANONICAL = 0 / 0
|
local LUA_NAN_CANONICAL = -(0 / 0)
|
||||||
local LUA_NAN_DEFAULT = 0 / 0
|
local LUA_NAN_DEFAULT = -(0 / 0)
|
||||||
local LUA_INFINITY = math.huge
|
local LUA_INFINITY = math.huge
|
||||||
|
|
||||||
local function is_number_equality(lhs, rhs)
|
local function is_number_equality(lhs, rhs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user