lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 6a77a6b73f0f06c4396e9b60d44b064b999cb06a
parent 84e0b1bc9789148092797fecf303547fef35a875
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue, 22 Oct 2002 14:21:03 -0300

avoid too much precision when printing numbers

Diffstat:
Mlua.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lua.h b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.157 2002/09/02 20:00:41 roberto Exp roberto $ +** $Id: lua.h,v 1.158 2002/10/22 17:18:28 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -297,7 +297,7 @@ LUA_API int lua_pushupvalues (lua_State *L); #endif #ifndef LUA_NUMBER_FMT -#define LUA_NUMBER_FMT "%.16g" +#define LUA_NUMBER_FMT "%.14g" #endif /* }====================================================================== */