2025-08-02 17:17 CEST

spring: develop abadfd89 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
jK jK develop 2016-02-05 23:35:27 develop d532e973
Changeset replace lua's printf with another syncing one
1. fix string.format, too
2. nicer results (can print i.e. "0.001")
3. better precision
4. when precision flag is given (via string.format) the results are 100% same to gnu's printf
5. still much faster than printf, nearly as fast as hokomoko's
6. extended UnitTest
mod - rts/lib/lua/include/LuaUser.cpp Diff ] File ]
mod - rts/lib/lua/include/LuaUser.h Diff ] File ]
mod - rts/lib/lua/include/luaconf.h Diff ] File ]
mod - rts/lib/lua/src/lstrlib.cpp Diff ] File ]
mod - test/CMakeLists.txt Diff ] File ]
mod - test/other/testPrintf.cpp Diff ] File ]