** Add a float to list of constants and return its index. */
| 600 | ** Add a float to list of constants and return its index. |
| 601 | */ |
| 602 | static int luaK_numberK (FuncState *fs, lua_Number r) { |
| 603 | TValue o; |
| 604 | setfltvalue(&o, r); |
| 605 | return addk(fs, &o, &o); /* use number itself as key */ |
| 606 | } |
| 607 | |
| 608 | |
| 609 | /* |
no test coverage detected