luai_numisnan
if (r == 0 || luai_numisnan(NULL, r)) { /* handle -0 and NaN */
else if (ttisnumber(key) && luai_numisnan(L, nvalue(key)))