Subject: Re: bin/2714: ftp(1) reports exponential format numbers
To: None <netbsd-bugs@NetBSD.ORG>
From: Christos Zoulas <email@example.com>
Date: 08/27/1996 19:44:08
In article <199608262130.RAA02667@like.duh.ml.org> firstname.lastname@example.org writes:
>FTP something for >1000 seconds. Exponential format number.
>2982240 bytes received in 2.16e+03 seconds (1380 bytes/s)
>(should read 2160 seconds)
>I recommend casting the float to a quad_t just before printing to preserve
>the floating point qualities needed for an accurate bytes/s count, but so
>that the seconds is shown as a 64 bit integer upon printout. The
>following diff accomplishes this. (Ponder away...)
I'd like so see something more like 36 minutes...
But that could be just me; my arithmetic skills are very limited 8-)