Removed the conditionals to compile without complex LNUM extension. - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/sf_implement.h
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2011年02月01日 13:16:26 +0100
committerfrancesco-ST <francesco.abbate@st.com>2011年02月01日 13:16:26 +0100
commitef33d2e7047f2092d3c99d969b465201a831b6e6 (patch)
treef07055dcfae5988cec5566b5d0289b1f58a38d0a /sf_implement.h
parentbd2c1b886cfe9b69a2f8491e700d00639303f798 (diff)
downloadgsl-shell-ef33d2e7047f2092d3c99d969b465201a831b6e6.tar.gz
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.
Diffstat (limited to 'sf_implement.h')
-rw-r--r--sf_implement.h 2
1 files changed, 0 insertions, 2 deletions
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
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月23日 17:37:47 +0000

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