aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-11-22 09:02:03 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-11-22 09:02:03 -0200
commit4d7cfff6df9cbd5a60bfa41acf4bcc93413b038f (patch)
tree15258acd4cba15907c1fa39a0e6cf584c1ab494e /lobject.c
parentbe822a5f1c0a0cd3f63790ffe761b6a13a69134f (diff)
downloadlua-4d7cfff6df9cbd5a60bfa41acf4bcc93413b038f.tar.gz
lua-4d7cfff6df9cbd5a60bfa41acf4bcc93413b038f.tar.bz2
lua-4d7cfff6df9cbd5a60bfa41acf4bcc93413b038f.zip
comments
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index 2d8475b3..92c28144 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.22 2006/02/10 17:43:52 roberto Exp roberto $ 2** $Id: lobject.c,v 2.23 2006/07/11 15:53:29 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -33,7 +33,7 @@ const TValue luaO_nilobject_ = {{NULL}, LUA_TNIL};
33** eeeee != 0 and (xxx) otherwise. 33** eeeee != 0 and (xxx) otherwise.
34*/ 34*/
35int luaO_int2fb (unsigned int x) { 35int luaO_int2fb (unsigned int x) {
36 int e = 0; /* expoent */ 36 int e = 0; /* exponent */
37 if (x < 8) return x; 37 if (x < 8) return x;
38 while (x >= 0x10) { 38 while (x >= 0x10) {
39 x = (x+1) >> 1; 39 x = (x+1) >> 1;