mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Do code cleanup use duff device linenoise i/o
This commit is contained in:
parent
6ff46ca373
commit
2f56ebfe78
79 changed files with 1393 additions and 1484 deletions
|
@ -47,8 +47,8 @@ void PrintMetric(const char *name, long double d) {
|
|||
mils = fmodl(d * 1000, 1000);
|
||||
mics = fmodl(d * 1000000, 1000);
|
||||
p = stpcpy(p, name), *p++ = '\t';
|
||||
p += int64toarray_radix10(mins, p), *p++ = 'm';
|
||||
p += int64toarray_radix10(secs, p), *p++ = '.';
|
||||
p = FormatInt64(p, mins), *p++ = 'm';
|
||||
p = FormatInt64(p, secs), *p++ = '.';
|
||||
*p++ = '0' + mils / 100;
|
||||
*p++ = '0' + mils / 10 % 10;
|
||||
*p++ = '0' + mils % 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue