From 6aeac9d7407b567aa80f63ee5edefd0ff20d9e03 Mon Sep 17 00:00:00 2001 From: wesleyleite <1591080+wesleyleite@users.noreply.github.com> Date: Mon, 21 Feb 2022 23:10:00 -0300 Subject: [PATCH] issue #46 update documentation math --- doc/source/math.rst | 67 --------------------------------------------- 1 file changed, 67 deletions(-) diff --git a/doc/source/math.rst b/doc/source/math.rst index a42c19d..e4453d7 100644 --- a/doc/source/math.rst +++ b/doc/source/math.rst @@ -176,70 +176,3 @@ In the same way as ``bh_charcalc``, however, work here with hexdigit. $ bh_hex2bin FF + 1 0x100 -bh_pow ------- - -This is a very simple operation in bash, but a little better "no bad". - -.. note:: - - Usage - - ``bh_pow`` [number] [pow] - - -.. code-block:: bash - - $ bh_pow 2 10 - 1024 - - $ bh_pow 9999 0 - 1 - -bh_shl ------- - -Push bits to the left by a number. - -.. note:: - - Usage - - ``bh_shl`` [number] [displaces] - number : number to displaces - displaces : left shift - -.. code-block:: bash - - $ bh_shl 2 1 - 4 - - $ bh_shl 50 2 - 200 - -bh_shr ------- - -Push bits to the rigth by a number. - -.. note:: - - Usage - - ``bh_shr`` [number] [displaces] - number : number to displaces - displaces : right shift. - -.. code-block:: bash - - $ bh_shr 4 1 - 4 - - $ bh_shr 50 2 - 12 - -bh_xor ------- - -Calculates the exclusive OR between two numbers, you can use hexdigit. -