** Add a float to list of constants and return its index. */
| 486 | ** Add a float to list of constants and return its index. |
| 487 | */ |
| 488 | static int luaK_numberK (FuncState *fs, lua_Number r) { |
| 489 | TValue o; |
| 490 | setfltvalue(&o, r); |
| 491 | return addk(fs, &o, &o); /* use number itself as key */ |
| 492 | } |
| 493 | |
| 494 | |
| 495 | /* |
no test coverage detected