From fef2aa7691f2b150bdd0e6f847f23388b193db65 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Wed, 4 Jul 2018 18:09:55 +0300 Subject: [PATCH] Update README. --- src/algorithms/math/bits/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/algorithms/math/bits/README.md b/src/algorithms/math/bits/README.md index 05dadaba..5d25efe5 100644 --- a/src/algorithms/math/bits/README.md +++ b/src/algorithms/math/bits/README.md @@ -2,7 +2,11 @@ #### Get Bit -This method shifts the relevant bit to the zeroth position. Then we perform 'AND' operation with one which has bit pattern like '00001'. This clears all bits from the original number except the relevant one. If the relevant bit is one, the result is '1', otherwise the result is '0'. +This method shifts the relevant bit to the zeroth position. +Then we perform `AND` operation with one which has bit +pattern like `0001`. This clears all bits from the original +number except the relevant one. If the relevant bit is one, +the result is `1`, otherwise the result is `0`. > See `getBit` function for further details.