From 737ec947d3f33e73e587f7020dba40b1818ac64d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 1 Nov 2004 12:06:50 -0300 Subject: better implementation for `floating-point bytes' --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 621acf0e..37720a26 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.13 2004/09/29 21:00:25 roberto Exp roberto $ +** $Id: ltests.c,v 2.14 2004/10/06 18:34:16 roberto Exp $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -759,7 +759,7 @@ static int log2_aux (lua_State *L) { static int int2fb_aux (lua_State *L) { int b = luaO_int2fb(luaL_checkint(L, 1)); lua_pushinteger(L, b); - lua_pushinteger(L, fb2int(b)); + lua_pushinteger(L, luaO_fb2int(b)); return 2; } -- cgit v1.2.3-55-g6feb