Update lmathlib.cpp

This commit is contained in:
VSCPlays 2023-05-24 21:46:20 +04:00 committed by GitHub
parent 5920ebab1d
commit 2781bcce68
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -445,5 +445,7 @@ int luaopen_math(lua_State* L)
lua_setfield(L, -2, "pi");
lua_pushnumber(L, HUGE_VAL);
lua_setfield(L, -2, "huge");
lua_pushnumber(L, TAU);
lua_setfield(L, -2, "tau");
return 1;
}