|
From: | dak |
Subject: | Re: Fattens the 256 first braces. (issue4518052) |
Date: | Wed, 11 May 2011 10:04:53 +0000 |
On 2011/05/11 09:54:36, dak wrote:
Something like fatten := min(number/256,1)[1+fatten_factor,1]; should do the trick then.
Well, I repeat the suggestion to make fatten_factor neutral at 1 instead of 0 (resulting in omitting 1+ in the above formula), and perhaps instead of hardcoding 256, one could make it a parameter fatten_end or similar. http://codereview.appspot.com/4518052/
[Prev in Thread] | Current Thread | [Next in Thread] |