commit | e49317d415f5a44bad8377a208d61902d752303e | [log] [tgz] |
---|---|---|
author | George Spelvin <linux@horizon.com> | Thu Oct 04 17:12:27 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Oct 06 03:04:48 2012 +0900 |
tree | 2033f7152350144068f0bbe22a4735fc12fd4f30 | |
parent | 6c0c0d4d1080840eabb3d055d2fd81911111c5fd [diff] |
lib: vsprintf: optimize division by 10 for small integers Shrink the reciprocal approximations used in put_dec_full4() based on the comments in put_dec_full9(). Signed-off-by: George Spelvin <linux@horizon.com> Cc: Denys Vlasenko <vda.linux@googlemail.com> Cc: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>