The NegaBinary Algorithm – How to Convert to Base Minus Two (-2) ? May 18, 2019 algorithms, c / c++, code, math No Comments We know the binary conversion, which is base two. The algorithm to convert to binary for a decimal integer, is to divide by two and concatenate the remainder in … [Continue Reading...]