This implementation also writes the digits from left to right instead of right to left. Using this method we can write the string to the beginning of the buffer and still avoid reversing the string. It also has the benefit of being slightly slower than the previous implementation. The function's signature changed as well because there is no longer a reason to pass the buffer size or a pointer to output the start of the string.
mtl
C++ STL replacement, intended for embedded systems. Aims to be more performant than ETL.
Description
Languages
C++
84.8%
Assembly
12.8%
CMake
2.4%