1. A method, comprising: obtaining a binary input vector; generating, by a binary/binary coded decimal (BCD) hardware converter, a plurality of BCD vectors based on the binary input vector by: partitioning the binary input vector into at least an initial segment and a final segment; generating an initial BCD vector from the initial segment of the binary input vector; and generating a plurality of final BCD vectors from the final segment of the binary input vector, wherein the plurality of BCD vectors comprises the initial BCD vector and the plurality of final BCD vectors; and calculating a BCD output vector based on the plurality of BCD vectors.