Searched refs:luai_numisnan (Results 1 – 10 of 10) sorted by relevance
298 #define luai_numisnan(a) (!luai_numeq((a), (a))) macro
102 lua_assert(luai_numisnan(n) || l_mathop(fabs)(n) == cast_num(HUGE_VAL)); in l_hashfloat()471 else if (luai_numisnan(fltvalue(key))) in luaH_newkey()
330 else if (luai_numisnan(lf)) /* 'r' is int and 'l' is float */ in LTnum()353 else if (luai_numisnan(lf)) /* 'r' is int and 'l' is float */ in LEnum()
990 if (luai_numisnan(n) || n == 0) in constfolding()
450 #define luai_numisnan(L,a) (!luai_numeq((a), (a))) macro
408 else if (ttisnumber(key) && luai_numisnan(L, nvalue(key))) in luaH_newkey()
331 if (r == 0 || luai_numisnan(NULL, r)) { /* handle -0 and NaN */ in luaK_numberK()
543 #define luai_numisnan(a) (!luai_numeq((a), (a))) macro
501 else if (ttisnumber(key) && luai_numisnan(nvalue(key))) in luaH_set()
647 if (luai_numisnan(r)) return 0; /* do not attempt to produce NaN */ in constfolding()