aboutsummaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-11 20:58:35 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-11 20:58:35 -0300
commit289b5dc67ae79423b35347ef7f8277ebc42d704a (patch)
tree493525ee5867b98e8699a32b2fd45a3deda4bc46 /lmathlib.c
parentc2f065f405ac7cc27bcfcc9b2b44ac53b666efde (diff)
downloadlua-289b5dc67ae79423b35347ef7f8277ebc42d704a.tar.gz
lua-289b5dc67ae79423b35347ef7f8277ebc42d704a.tar.bz2
lua-289b5dc67ae79423b35347ef7f8277ebc42d704a.zip
details (function list in alphabetical order)
Diffstat (limited to 'lmathlib.c')
-rw-r--r--lmathlib.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/lmathlib.c b/lmathlib.c
index 0faacab7..17253b28 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lmathlib.c,v 1.63 2005/03/04 18:57:03 roberto Exp roberto $ 2** $Id: lmathlib.c,v 1.64 2005/06/13 21:20:14 roberto Exp roberto $
3** Standard mathematical library 3** Standard mathematical library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -214,33 +214,33 @@ static int math_randomseed (lua_State *L) {
214 214
215static const luaL_reg mathlib[] = { 215static const luaL_reg mathlib[] = {
216 {"abs", math_abs}, 216 {"abs", math_abs},
217 {"sin", math_sin},
218 {"sinh", math_sinh},
219 {"cos", math_cos},
220 {"cosh", math_cosh},
221 {"tan", math_tan},
222 {"tanh", math_tanh},
223 {"asin", math_asin},
224 {"acos", math_acos}, 217 {"acos", math_acos},
225 {"atan", math_atan}, 218 {"asin", math_asin},
226 {"atan2", math_atan2}, 219 {"atan2", math_atan2},
220 {"atan", math_atan},
227 {"ceil", math_ceil}, 221 {"ceil", math_ceil},
222 {"cosh", math_cosh},
223 {"cos", math_cos},
224 {"deg", math_deg},
225 {"exp", math_exp},
228 {"floor", math_floor}, 226 {"floor", math_floor},
229 {"fmod", math_fmod}, 227 {"fmod", math_fmod},
230 {"modf", math_modf},
231 {"frexp", math_frexp}, 228 {"frexp", math_frexp},
232 {"ldexp", math_ldexp}, 229 {"ldexp", math_ldexp},
233 {"sqrt", math_sqrt},
234 {"min", math_min},
235 {"max", math_max},
236 {"log", math_log},
237 {"log10", math_log10}, 230 {"log10", math_log10},
238 {"exp", math_exp}, 231 {"log", math_log},
239 {"deg", math_deg}, 232 {"max", math_max},
233 {"min", math_min},
234 {"modf", math_modf},
240 {"pow", math_pow}, 235 {"pow", math_pow},
241 {"rad", math_rad}, 236 {"rad", math_rad},
242 {"random", math_random}, 237 {"random", math_random},
243 {"randomseed", math_randomseed}, 238 {"randomseed", math_randomseed},
239 {"sinh", math_sinh},
240 {"sin", math_sin},
241 {"sqrt", math_sqrt},
242 {"tanh", math_tanh},
243 {"tan", math_tan},
244 {NULL, NULL} 244 {NULL, NULL}
245}; 245};
246 246