Skip to content

Commit

Permalink
modules: readme files regenerated - math ... [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kamailio-dev committed Apr 17, 2023
1 parent 0cf5148 commit 77c41d9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/modules/math/README
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ Daniel-Constantin Mierla
3.2. math_logN(x, res)
3.3. math_log2(x, res)
3.4. math_log10(x, res)
3.5. math_sqrt(x, res)

List of Examples

1.1. math_pow usage
1.2. math_logN usage
1.3. math_log2 usage
1.4. math_log10 usage
1.5. math_sqrt usage

Chapter 1. Admin Guide

Expand All @@ -53,6 +55,7 @@ Chapter 1. Admin Guide
3.2. math_logN(x, res)
3.3. math_log2(x, res)
3.4. math_log10(x, res)
3.5. math_sqrt(x, res)

1. Overview

Expand Down Expand Up @@ -83,6 +86,7 @@ Chapter 1. Admin Guide
3.2. math_logN(x, res)
3.3. math_log2(x, res)
3.4. math_log10(x, res)
3.5. math_sqrt(x, res)

3.1. pow(base, power, res)

Expand Down Expand Up @@ -140,3 +144,17 @@ Chapter 1. Admin Guide
$var(x) = 100;
math_log10("$var(x)", "$var(res)");
...

3.5. math_sqrt(x, res)

The function computes the square root of x and stores the result in
res.

This function can be used from ANY_ROUTE.

Example 1.5. math_sqrt usage
...
math_sqrt("16", "$var(res)");
$var(x) = 16;
math_sqrt("$var(x)", "$var(res)");
...

0 comments on commit 77c41d9

Please sign in to comment.