Skip to content

Commit

Permalink
Fix typo in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Dec 11, 2024
1 parent 1fb43eb commit 610e88f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/modules/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 610e88f

Please sign in to comment.