diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-22 15:59:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-22 15:59:59 -0300 |
commit | 5f37134e64aec3a0414a41c11d6b055c667369d1 (patch) | |
tree | 29415835aca3bc8bfe31c9e4c03d894ac6bcef09 /lmathlib.c | |
parent | 52ee91dd73199e068d31d3ac138d933ddd4fb9b1 (diff) | |
download | lua-github-5f37134e64aec3a0414a41c11d6b055c667369d1.tar.gz |
avoid '...' and "..." inside comments
Diffstat (limited to 'lmathlib.c')
-rw-r--r-- | lmathlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.33 2000/12/04 18:33:40 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.34 2001/02/02 19:02:40 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -166,8 +166,8 @@ static int math_max (lua_State *L) { static int math_random (lua_State *L) { - /* the '%' avoids the (rare) case of r==1, and is needed also because on - some systems (SunOS!) "rand()" may return a value larger than RAND_MAX */ + /* the `%' avoids the (rare) case of r==1, and is needed also because on + some systems (SunOS!) `rand()' may return a value larger than RAND_MAX */ lua_Number r = (lua_Number)(rand()%RAND_MAX) / (lua_Number)RAND_MAX; switch (lua_gettop(L)) { /* check number of arguments */ case 0: { /* no arguments */ |