** Add a float to list of constants and return its index. */
| 479 | ** Add a float to list of constants and return its index. |
| 480 | */ |
| 481 | static int luaK_numberK (FuncState *fs, lua_Number r) { |
| 482 | TValue o; |
| 483 | setfltvalue(&o, r); |
| 484 | return addk(fs, &o, &o); /* use number itself as key */ |
| 485 | } |
| 486 | |
| 487 | |
| 488 | /* |
no test coverage detected