MCPcopy Create free account
hub / github.com/ejoy/ejoy2d / forlimit

Function forlimit

lua/lvm.c:140–157  ·  view source on GitHub ↗

** Try to convert a 'for' limit to an integer, preserving the ** semantics of the loop. ** (The following explanation assumes a non-negative step; it is valid ** for negative steps mutatis mutandis.) ** If the limit can be converted to an integer, rounding down, that is ** it. ** Otherwise, check whether the limit can be converted to a number. If ** the number is too large, it is OK to set the li

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

luaV_executeFunction · 0.85

Calls 1

tointeger_auxFunction · 0.85

Tested by

no test coverage detected