Dear,
I was looking at the opcodes from lua-5.4.0-rc1 using "luac -l", and the simple code below
local v1 = 1
local v2 = 1.
local v3 = 1.0
local v4 = 1.01
is translated to
1 [1] VARARGPREP 0
2 [1] LOADI 0 1
3 [2] LOADF 1 1
4 [3] LOADF 2 1
5 [4] LOADK 3 0 ; 1.01
So, why "1." and "1.0" use LOADF but "1.01" uses LOADK?
Thanks,
Rodrigo