From 31c029ca47123de80f0f89e7526ddbb97af80768 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Fri, 14 Apr 2023 11:57:51 +0200 Subject: [PATCH] math: docs - proper names for exported functions --- src/modules/math/doc/math_admin.xml | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/modules/math/doc/math_admin.xml b/src/modules/math/doc/math_admin.xml index 4e6a9a513ef..fe70654d319 100644 --- a/src/modules/math/doc/math_admin.xml +++ b/src/modules/math/doc/math_admin.xml @@ -69,20 +69,20 @@ This function can be used from ANY_ROUTE. - <function>pow</function> usage + <function>math_pow</function> usage ... - pow("2", "10", "$var(res)"); + math_pow("2", "10", "$var(res)"); $var(base) = 2; $var(power) = 10; - pow("$var(base)", "$var(power)", "$var(res)"); + math_pow("$var(base)", "$var(power)", "$var(res)"); ...
- <function moreinfo="none">logN(x, res)</function> + <function moreinfo="none">math_logN(x, res)</function> The function computes the natural logarithm of x and stores the result @@ -92,19 +92,19 @@ This function can be used from ANY_ROUTE. - <function>logN</function> usage + <function>math_logN</function> usage ... - logN("10", "$var(res)"); + math_logN("10", "$var(res)"); $var(x) = 10; - logN("$var(x)", "$var(res)"); + math_logN("$var(x)", "$var(res)"); ...
- <function moreinfo="none">log2(x, res)</function> + <function moreinfo="none">math_log2(x, res)</function> The function computes the base-2 logarithm of x and stores the result @@ -114,19 +114,19 @@ This function can be used from ANY_ROUTE. - <function>log2</function> usage + <function>math_log2</function> usage ... - log2("16", "$var(res)"); + math_log2("16", "$var(res)"); $var(x) = 16; - log2("$var(x)", "$var(res)"); + math_log2("$var(x)", "$var(res)"); ...
- <function moreinfo="none">log10(x, res)</function> + <function moreinfo="none">math_log10(x, res)</function> The function computes the base-10 logarithm of x and stores the result @@ -136,12 +136,12 @@ This function can be used from ANY_ROUTE. - <function>log10</function> usage + <function>math_log10</function> usage ... - log10("100", "$var(res)"); + math_log10("100", "$var(res)"); $var(x) = 100; - log10("$var(x)", "$var(res)"); + math_log10("$var(x)", "$var(res)"); ...