number type in Lua changed for double (by default).

This commit is contained in:
Roberto Ierusalimschy
1998-05-18 19:26:03 -03:00
parent da252eeff7
commit 054e0b888a
4 changed files with 12 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
% $Id: manual.tex,v 1.7 1998/03/30 18:17:55 roberto Exp roberto $
% $Id: manual.tex,v 1.8 1998/04/02 16:09:16 roberto Exp roberto $
\documentstyle[fullpage,11pt,bnf]{article}
@@ -38,7 +38,7 @@ Waldemar Celes
\tecgraf\ --- Computer Science Department --- PUC-Rio
}
\date{\small \verb$Date: 1998/03/30 18:17:55 $}
\date{\small \verb$Date: 1998/04/02 16:09:16 $}
\maketitle
@@ -235,7 +235,7 @@ There are six \Index{basic types} in Lua: \Def{nil}, \Def{number},
\Def{string}, \Def{function}, \Def{userdata}, and \Def{table}.
\emph{Nil} is the type of the value \nil,
whose main property is to be different from any other value.
\emph{Number} represents real (floating-point) numbers,
\emph{Number} represents real (floating-point with double precision) numbers,
while \emph{string} has the usual meaning;
notice that Lua is \Index{eight-bit clean},
and so strings can contain any ISO character,