Mercurial > ecos
changeset 2342:07b0f2be3596
Update last change with an explanatory comment.
| author | jlarmour |
|---|---|
| date | Tue, 02 Jan 2007 11:54:37 +0000 |
| parents | 253ee03b2455 |
| children | 0550d98ae686 |
| files | packages/language/c/libc/stdio/current/src/output/vfnprintf.cxx |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/language/c/libc/stdio/current/src/output/vfnprintf.cxx +++ b/packages/language/c/libc/stdio/current/src/output/vfnprintf.cxx @@ -555,6 +555,7 @@ number: if ((dprec = pre case DEC: /* many numbers are 1 digit */ while (_uquad >= 10) { + /* The following is usually faster than using a modulo */ u_quad_t next = _uquad / 10; *--cp = to_char(_uquad - (next * 10)); _uquad = next;
