This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/7] GCOV: add -j argument (human readable format).


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've adapted your code snippet.

thanks, this is ok.

nathan

--
Nathan Sidwell


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]