Home
last modified time | relevance | path

Searched refs:l_mathop (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/dports/audio/moony-lv2/moony-0.36.0/lmathx/
H A Dlmathx.c22 #define rad(x) ((x)*(PI/l_mathop(180.0)))
23 #define deg(x) ((x)*(l_mathop(180.0)/PI))
60 lua_Number fp=l_mathop(modf)(A(1),&ip); in Lmodf()
68 lua_pushnumber(L,l_mathop(fabs)(A(1))); in Lfabs()
74 lua_pushnumber(L,l_mathop(acos)(A(1))); in Lacos()
86 lua_pushnumber(L,l_mathop(asin)(A(1))); in Lasin()
120 lua_pushnumber(L,l_mathop(cbrt)(A(1))); in Lcbrt()
138 lua_pushnumber(L,l_mathop(cos)(A(1))); in Lcos()
156 lua_pushnumber(L,l_mathop(erf)(A(1))); in Lerf()
168 lua_pushnumber(L,l_mathop(exp)(A(1))); in Lexp()
[all …]
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/lua-5.2.3/src/
H A Dlmathlib.c24 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
30 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
36 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
48 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
54 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
127 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
136 res = l_mathop(log)(x); in math_log()
141 res = l_mathop(log10)(x); in math_log()
143 res = l_mathop(log)(x) / l_mathop(log)(base); in math_log()
[all …]
/dports/games/pioneer/pioneer-20210723/contrib/lua/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/finance/moneymanagerex/moneymanagerex-1.2.7/lib/lua/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/lang/lua52/lua-5.2.4/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/games/blobby/blobby-1.0/src/lua/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/games/alephone/alephone-release-20190331/Source_Files/Lua/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/lua/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/www/civetweb/civetweb-1.15/src/third_party/lua-5.2.4/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/devel/tex-libtexlua/texlive-20150521-source/libs/lua52/lua-5.2.4/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/misc/xplr/xplr-0.17.0/cargo-crates/lua-src-543.1.0/lua-5.2.4/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/lua/lua-5.2.3/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/lua/lua-5.2.3/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/external/lua-5.2.3/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/external/lua-5.2.3/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/external/lua-5.2.3/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/print/tex-luatex/texlive-20150521-source/libs/lua52/lua-5.2.4/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/sysutils/syslinux/syslinux-6.03/com32/lua/src/
H A Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
114 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
122 res = l_mathop(log)(x); in math_log()
126 else res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/lua-5.2.3/src/
H A Dlmathlib.c24 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
30 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
36 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
48 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
54 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
127 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
136 res = l_mathop(log)(x); in math_log()
141 res = l_mathop(log10)(x); in math_log()
143 res = l_mathop(log)(x) / l_mathop(log)(base); in math_log()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/deps/lua/src/
H A Dlmathlib.c23 #define PI (l_mathop(3.141592653589793238462643383279502884))
78 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
157 lua_Number ip = (n < 0) ? l_mathop(ceil)(n) : l_mathop(floor)(n); in math_modf()
183 res = l_mathop(log)(x); in math_log()
187 if (base == l_mathop(2.0)) in math_log()
188 res = l_mathop(log2)(x); else in math_log()
190 if (base == l_mathop(10.0)) in math_log()
191 res = l_mathop(log10)(x); in math_log()
193 res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
324 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/lua/src/
H A Dlmathlib.c23 #define PI (l_mathop(3.141592653589793238462643383279502884))
78 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
157 lua_Number ip = (n < 0) ? l_mathop(ceil)(n) : l_mathop(floor)(n); in math_modf()
183 res = l_mathop(log)(x); in math_log()
187 if (base == l_mathop(2.0)) in math_log()
188 res = l_mathop(log2)(x); else in math_log()
190 if (base == l_mathop(10.0)) in math_log()
191 res = l_mathop(log10)(x); in math_log()
193 res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
324 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
[all …]
/dports/games/golly/golly-3.3-src/lua/
H A Dlmathlib.c23 #define PI (l_mathop(3.141592653589793238462643383279502884))
78 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
157 lua_Number ip = (n < 0) ? l_mathop(ceil)(n) : l_mathop(floor)(n); in math_modf()
183 res = l_mathop(log)(x); in math_log()
187 if (base == l_mathop(2.0)) in math_log()
188 res = l_mathop(log2)(x); else in math_log()
190 if (base == l_mathop(10.0)) in math_log()
191 res = l_mathop(log10)(x); in math_log()
193 res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
324 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
[all …]
/dports/security/nmap/nmap-7.91/liblua/
H A Dlmathlib.c23 #define PI (l_mathop(3.141592653589793238462643383279502884))
78 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
157 lua_Number ip = (n < 0) ? l_mathop(ceil)(n) : l_mathop(floor)(n); in math_modf()
183 res = l_mathop(log)(x); in math_log()
187 if (base == l_mathop(2.0)) in math_log()
188 res = l_mathop(log2)(x); else in math_log()
190 if (base == l_mathop(10.0)) in math_log()
191 res = l_mathop(log10)(x); in math_log()
193 res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
324 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
[all …]
/dports/sysutils/vector/rlua-25bd7e6bffef9597466a98bfca80a3056c9e6320/lua/
H A Dlmathlib.c23 #define PI (l_mathop(3.141592653589793238462643383279502884))
78 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
157 lua_Number ip = (n < 0) ? l_mathop(ceil)(n) : l_mathop(floor)(n); in math_modf()
183 res = l_mathop(log)(x); in math_log()
187 if (base == l_mathop(2.0)) in math_log()
188 res = l_mathop(log2)(x); else in math_log()
190 if (base == l_mathop(10.0)) in math_log()
191 res = l_mathop(log10)(x); in math_log()
193 res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
324 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
[all …]
/dports/x11-toolkits/scintilla/scite/lua/src/
H A Dlmathlib.c23 #define PI (l_mathop(3.141592653589793238462643383279502884))
78 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
157 lua_Number ip = (n < 0) ? l_mathop(ceil)(n) : l_mathop(floor)(n); in math_modf()
183 res = l_mathop(log)(x); in math_log()
187 if (base == l_mathop(2.0)) in math_log()
188 res = l_mathop(log2)(x); else in math_log()
190 if (base == l_mathop(10.0)) in math_log()
191 res = l_mathop(log10)(x); in math_log()
193 res = l_mathop(log)(x)/l_mathop(log)(base); in math_log()
324 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
[all …]

12345678910>>...13