| 660 | |
| 661 | |
| 662 | static void luaK_float (FuncState *fs, int reg, lua_Number f) { |
| 663 | lua_Integer fi; |
| 664 | if (luaV_flttointeger(f, &fi, F2Ieq) && fitsBx(fi)) |
| 665 | luaK_codeAsBx(fs, OP_LOADF, reg, cast_int(fi)); |
| 666 | else |
| 667 | luaK_codek(fs, reg, luaK_numberK(fs, f)); |
| 668 | } |
| 669 | |
| 670 | |
| 671 | /* |
no test coverage detected