From 2781bcce680c23b573301f55a036804b04660463 Mon Sep 17 00:00:00 2001 From: VSCPlays <133564013+VSCPlays@users.noreply.github.com> Date: Wed, 24 May 2023 21:46:20 +0400 Subject: [PATCH] Update lmathlib.cpp --- VM/src/lmathlib.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VM/src/lmathlib.cpp b/VM/src/lmathlib.cpp index 1cd57813..ddda02f7 100644 --- a/VM/src/lmathlib.cpp +++ b/VM/src/lmathlib.cpp @@ -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; }