From ef33d2e7047f2092d3c99d969b465201a831b6e6 Mon Sep 17 00:00:00 2001 From: francesco-ST Date: Tue, 1 Feb 2011 13:16:26 +0100 Subject: Removed the conditionals to compile without complex LNUM extension. The conditionals are no more needed because now the complex number are implemented using an unmodified Lua VM implementation. --- sf_implement.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sf_implement.h') diff --git a/sf_implement.h b/sf_implement.h index b40fcf9a..65030f06 100644 --- a/sf_implement.h +++ b/sf_implement.h @@ -518,7 +518,6 @@ int GSH_LUA_NAME(legendreQ) (lua_State *L) return push_gsl_result (L, &res); } -#ifdef LNUM_COMPLEX int GSH_LUA_NAME(cdilog) (lua_State *L) { Complex z = luaL_checkcomplex (L, 1); @@ -535,4 +534,3 @@ int GSH_LUA_NAME(cdilog) (lua_State *L) lua_pushcomplex (L, rr.val + I * ri.val); return 1; } -#endif -- cgit v1.2.3

AltStyle によって変換されたページ (->オリジナル) /