From 6a77a6b73f0f06c4396e9b60d44b064b999cb06a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 22 Oct 2002 14:21:25 -0300 Subject: [PATCH] avoid too much precision when printing numbers --- lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua.h b/lua.h index 49a99f88..bc899b0c 100644 --- 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 /* }====================================================================== */