From 73aa465a8ed8dee6c6a27a6f8b2f51227b70789d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 10 Mar 2000 15:37:44 -0300 Subject: some name changes --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index ee53f52e..8ed5deae 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.22 1999/12/14 18:31:20 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.23 1999/12/27 17:33:22 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -147,7 +147,7 @@ static void math_random (lua_State *L) { some systems (SunOS!) "rand()" may return a value larger than RAND_MAX */ double r = (double)(rand()%RAND_MAX) / (double)RAND_MAX; if (lua_getparam(L, 1) == LUA_NOOBJECT) /* no arguments? */ - lua_pushnumber(L, r); /* real between 0 and 1 */ + lua_pushnumber(L, r); /* Number between 0 and 1 */ else { int l, u; /* lower & upper limits */ if (lua_getparam(L, 2) == LUA_NOOBJECT) { /* only one argument? */ -- cgit v1.2.3-55-g6feb