From a3f89d5aa0295632e75693747c8b52bafdbbb011 Mon Sep 17 00:00:00 2001 From: wesleyleite <1591080+wesleyleite@users.noreply.github.com> Date: Wed, 4 May 2022 23:13:35 -0300 Subject: [PATCH] issue #46 update doc math --- doc/source/math.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/source/math.rst b/doc/source/math.rst index e4453d7..e67f3a3 100644 --- a/doc/source/math.rst +++ b/doc/source/math.rst @@ -31,10 +31,12 @@ This function expects a binary and return its equivalent in decimal. $ bh_bin2dec 1110 14 + bh_charcalc ----------- Think of a way to make operations with 'char', how to sum two positions for a 'char/string' and return letter c or sum of the other and multiply it by 10 and returns 10 + .. note:: Usage @@ -54,6 +56,7 @@ Think of a way to make operations with 'char', how to sum two positions for a 'c $ bh_charcalc A \* 255 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA....... + bh_dec2bin ---------- @@ -94,6 +97,7 @@ Opossed to ``bh_bin2dec`` this function expects a decimal for converting it into 5 = 101 6 = 110 + bh_dec2hex ---------- @@ -116,6 +120,7 @@ The function expects a input a decimal number it performs the conversion to hex. $ bh_dec2hex 255 ff + bh_hex2bin ---------- @@ -136,6 +141,7 @@ Capture all submitted arguments and convert to binary $ bh_hex2bin 10 10000 + bh_hex2dec ---------- @@ -156,6 +162,7 @@ This's a conversion function from hex digit to decimal digit $ bh_hex2dec FF 255 + bh_hexcalc ----------