From 610e88fb75342e2a44bdc421407296334c4721d5 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Wed, 11 Dec 2024 11:10:46 +0100 Subject: [PATCH] Fix typo in documentation. --- docs/modules/math.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/math.rst b/docs/modules/math.rst index 9768e228a8..0f6d13aa8a 100644 --- a/docs/modules/math.rst +++ b/docs/modules/math.rst @@ -97,7 +97,7 @@ file and create signatures based on those results. Returns true if the *test* value is between *lower* and *upper* values. The comparisons are inclusive. - *Example: math.in_range(math.deviation(0, filesize, math.MEAN_BYTES), 63.9, 64,1)* + *Example: math.in_range(math.deviation(0, filesize, math.MEAN_BYTES), 63.9, 64.1)* .. c:function:: max(int, int) @@ -151,9 +151,9 @@ file and create signatures based on those results. the process address space. The returned value is a float between 0 and 1. *offset* and *size* are optional; if left empty, the complete file is searched. - + *Example: math.percentage(0xFF, filesize-1024, filesize) >= 0.9* - + *Example: math.percentage(0x4A) >= 0.4* .. c:function:: mode(offset, size)