/* basically do an itoa using as little ram as possible  */
void UnityPrintNumber(const _U_SINT number_to_print)
/* basically do an itoa using as little ram as possible  */
void UnityPrintNumber(const _U_SINT number_to_print)
{
    _U_SINT divisor = 1;
    _U_SINT next_divisor;
    _U_SINT number = number_to_print;
    if (number < 0)
    {
        UNITY_OUTPUT_CHAR('-');
        number = -number;
    }
    while (number / divisor > 9)
    {
        next_divisor = divisor * 10;
        if (next_divisor > divisor)
            divisor = next_divisor;
        else
            break;
    }
    do
    {
        UNITY_OUTPUT_CHAR((char)('0' + (number / divisor % 10)));
        divisor /= 10;
    }
    while (divisor > 0);
}