diff options
-rw-r--r-- | porting/porting.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/porting/porting.rst b/porting/porting.rst index 0c80633..93c8b4c 100644 --- a/porting/porting.rst +++ b/porting/porting.rst @@ -1512,7 +1512,9 @@ in software: - a "binary search using if’s" - the following algorithm based upon a 16 entry lookup table. In this pseudo-code, bit_set_table[16] has values which indicate the first bit set: + .. code:: c + _number = 0 if _value > 0x00ff _value >>=8 _number = 8; |