From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97521 invoked by alias); 31 Oct 2017 15:31:55 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 97022 invoked by uid 89); 31 Oct 2017 15:31:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 31 Oct 2017 15:31:53 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A3265ADF1; Tue, 31 Oct 2017 15:31:50 +0000 (UTC) Subject: Re: [PATCH 4/7] GCOV: add -j argument (human readable format). To: Nathan Sidwell , gcc-patches@gcc.gnu.org References: <64ee387ade24b20ee9a6bc2a038abd6664800a61.1509005504.git.mliska@suse.cz> <51470cf7-9763-6925-2a90-1d9ca27bdfca@acm.org> <255dfe81-ac7b-112d-fda5-90504df5670c@suse.cz> <9ca9f255-03b8-b412-06c8-cadffd277d0d@acm.org> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <6180b5dc-663e-32bd-b622-69711ee31287@suse.cz> Date: Tue, 31 Oct 2017 15:33:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <9ca9f255-03b8-b412-06c8-cadffd277d0d@acm.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg02335.txt.bz2 On 10/31/2017 03:35 PM, Nathan Sidwell wrote: > On 10/31/2017 10:04 AM, Martin Liška wrote: > >> Do you mean numbers a bit smaller than 1000 or bit bigger? Do you have an example that will >> be handled in a different way? > > A count like 999500 would have been scaled to 999.5 and then rounded to 1000.  We'd print 1000k rather than 1M. I see! Thank you for clarification. > >> I've adapted your code snippet. > > thanks, this is ok. Has been just installed. Martin > > nathan >