[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.078 / U:7.380 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site