It looks like there is something I am missing or not able to understand ...
If n is Lua_Number, and k is just a cast of n LUA_Number to int, and cast_num just cast k back to LUA_Number, then the the if statement is redundant because they (n , k) would also be same. Could someone help figure out what I am missing ? Function name const TValue *luaH_get,