From 4081e706f05db8a0cb27252f8e3d38ffa85df00e Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 21:23:30 -0800 Subject: improved math comments --- .../newview/app_settings/keywords_lua_default.xml | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 562f283a0d..732ca4df11 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -13283,7 +13283,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the arc tangent of y/x in radians. + Returns the arc tangent of y/x in radians, using the signs to determine the quadrant. math.ceil @@ -13293,7 +13293,7 @@ Returns true if result is non-zero. n tooltip - A number. + A number to round up. type number @@ -13306,7 +13306,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Rounds n upwards to the next integer boundary. + Returns the smallest integer larger than or equal to n. math.clamp @@ -13370,7 +13370,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the cosine of n. + Returns the cosine of n (n is in radians). math.cosh @@ -13462,7 +13462,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Rounds n down to the previous integer. + Returns the largest integer smaller than or equal to n. math.fmod @@ -13517,7 +13517,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Splits n into a significand and exponent. + Returns m and e such that n = m * 2^e. math.ldexp @@ -13622,7 +13622,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns logarithm of n in the given base. + Returns the logarithm of n in the given base (default e). math.log10 @@ -13645,7 +13645,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns base-10 logarithm of n. + Returns the base-10 logarithm of n. math.max @@ -13733,7 +13733,7 @@ Returns true if result is non-zero. y tooltip - Y coordinate for the noise function (optional). + Y coordinate for the noise function (default is 0). type number @@ -13742,7 +13742,7 @@ Returns true if result is non-zero. z tooltip - Z coordinate for the noise function (optional). + Z coordinate for the noise function (default is 0). type number @@ -13762,7 +13762,7 @@ Returns true if result is non-zero. arguments - x + base tooltip Base value. @@ -13771,7 +13771,7 @@ Returns true if result is non-zero. - y + exponent tooltip Exponent value. @@ -13787,7 +13787,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns x raised to the power of y. + Returns base to the power of exponent. math.rad @@ -13934,7 +13934,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the sine of n. + Returns the sine of n (n is in radians). math.sinh @@ -14003,7 +14003,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the tangent of n. + Returns the tangent of n (n is in radians). math.tanh -- cgit v1.3