diff options
Diffstat (limited to 'lmathlib.c')
-rw-r--r-- | lmathlib.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmathlib.c,v 1.104 2014/06/26 18:38:28 roberto Exp roberto $ | 2 | ** $Id: lmathlib.c,v 1.105 2014/06/30 19:48:08 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 | */ |
@@ -363,6 +363,11 @@ static const luaL_Reg mathlib[] = { | |||
363 | {"ldexp", math_ldexp}, | 363 | {"ldexp", math_ldexp}, |
364 | {"log10", math_log10}, | 364 | {"log10", math_log10}, |
365 | #endif | 365 | #endif |
366 | /* placeholders */ | ||
367 | {"pi", NULL}, | ||
368 | {"huge", NULL}, | ||
369 | {"maxinteger", NULL}, | ||
370 | {"mininteger", NULL}, | ||
366 | {NULL, NULL} | 371 | {NULL, NULL} |
367 | }; | 372 | }; |
368 | 373 | ||