summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-11-01 12:06:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-11-01 12:06:50 -0300
commit737ec947d3f33e73e587f7020dba40b1818ac64d (patch)
treeb34f39f07b9cf9c9b079145140fa5c9651c81e8d /ltests.c
parent45d566f67691ccae8fe4e5299f9a77873f6c223c (diff)
downloadlua-737ec947d3f33e73e587f7020dba40b1818ac64d.tar.gz
lua-737ec947d3f33e73e587f7020dba40b1818ac64d.tar.bz2
lua-737ec947d3f33e73e587f7020dba40b1818ac64d.zip
better implementation for `floating-point bytes'
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 621acf0e..37720a26 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.13 2004/09/29 21:00:25 roberto Exp roberto $ 2** $Id: ltests.c,v 2.14 2004/10/06 18:34:16 roberto Exp $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -759,7 +759,7 @@ static int log2_aux (lua_State *L) {
759static int int2fb_aux (lua_State *L) { 759static int int2fb_aux (lua_State *L) {
760 int b = luaO_int2fb(luaL_checkint(L, 1)); 760 int b = luaO_int2fb(luaL_checkint(L, 1));
761 lua_pushinteger(L, b); 761 lua_pushinteger(L, b);
762 lua_pushinteger(L, fb2int(b)); 762 lua_pushinteger(L, luaO_fb2int(b));
763 return 2; 763 return 2;
764} 764}
765 765