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

From: "J. Bruce Fields" <bfields@redhat.com>

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 <rees@umich.edu>. I'm thinking of
patenting the algorithm.


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