1
0
mirror of https://github.com/lua/lua.git synced 2025-01-14 05:43:00 +08:00

NUMBER_FMT also may be predefined in makefile

This commit is contained in:
Roberto Ierusalimschy 1998-12-01 17:09:47 -02:00
parent c64f36ab2b
commit bb1cb7b9f1

View File

@ -1,5 +1,5 @@
/*
** $Id: lobject.h,v 1.21 1998/06/18 16:57:03 roberto Exp roberto $
** $Id: lobject.h,v 1.22 1998/07/12 16:11:55 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@ -30,12 +30,9 @@
*/
#ifndef LUA_NUM_TYPE
#define LUA_NUM_TYPE double
#define NUMBER_FMT "%g"
#endif
/*
** format to convert number to strings
*/
#define NUMBER_FMT "%g"
typedef LUA_NUM_TYPE real;