You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize and improve behavior of gfx_PrintInt and gfx_PrintUInt
Rather than the length argument specifying the exact number of digits
to print, it now specifies the minimum number of characters to print.
This results in the following changes in behavior:
* If the number to be printed would exceed the specified length, it is
still printed in full. Previously, the calculation of the first
digit would overflow instead and print a garbage character, possibly
taking a long time to do so.
* For gfx_PrintInt, the minus sign for negative numbers counts toward
the length. This has the effect that positive and negative values
that don't exceed the specified length will be padded to the same
total length, including the minus sign.
Implements #153.
0 commit comments