diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-28 09:53:40 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-28 09:53:40 -0300 |
commit | 04c41444e22740119d3c017830276d6590b09747 (patch) | |
tree | c44570722e4e5b8c8d703c003415fe51a46f68d8 | |
parent | 03fb3c39d4f3a60367558ee357cbb9a26f01bc2b (diff) | |
download | lua-04c41444e22740119d3c017830276d6590b09747.tar.gz lua-04c41444e22740119d3c017830276d6590b09747.tar.bz2 lua-04c41444e22740119d3c017830276d6590b09747.zip |
wrong comment corrected
-rw-r--r-- | lobject.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 2.10 2005/03/08 20:10:05 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.11 2005/03/09 16:28:07 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 | */ |
@@ -29,7 +29,8 @@ const TValue luaO_nilobject = {{NULL}, LUA_TNIL}; | |||
29 | 29 | ||
30 | /* | 30 | /* |
31 | ** converts an integer to a "floating point byte", represented as | 31 | ** converts an integer to a "floating point byte", represented as |
32 | ** (mmmmmxxx), where the real value is (xxx) * 2^(mmmmm) | 32 | ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if |
33 | ** eeeee != 0 and (xxx) otherwise. | ||
33 | */ | 34 | */ |
34 | int luaO_int2fb (unsigned int x) { | 35 | int luaO_int2fb (unsigned int x) { |
35 | int e = 0; /* expoent */ | 36 | int e = 0; /* expoent */ |