diff options
| -rw-r--r-- | lmathlib.c | 32 |
1 files changed, 16 insertions, 16 deletions
| @@ -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 | ||
| 215 | static const luaL_reg mathlib[] = { | 215 | static 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 | ||
