mirror of https://github.com/lua/lua
avoid too much precision when printing numbers
This commit is contained in:
parent
84e0b1bc97
commit
6a77a6b73f
4
lua.h
4
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
|
||||
|
||||
/* }====================================================================== */
|
||||
|
|
Loading…
Reference in New Issue