[lkml]   [2012]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer
J. Bruce Fields wrote:

From: "J. Bruce Fields" <>

I've seen a couple examples recently where we've gotten this wrong.
Maybe something like this would help? Is there some better way?

(Approximation due to Jim Rees).

Please add Suggested-by: Jim Rees <>. I'm thinking of
patenting the algorithm.

 \ /
  Last update: 2012-08-22 00:21    [W:0.181 / U:2.804 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site