Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/lib/libc/gen



   
   Simon Burge <simonb%netbsd.org@localhost> writes:
   > Module Name:       src
   > Committed By:      simonb
   > Date:              Fri Dec 26 11:30:36 UTC 2003
   >
   > Modified Files:
   >    src/lib/libc/gen: humanize_number.c
   >
   > Log Message:
   > Don't ever add a ".0" to a single digit number.
   
   Why is .0 wrong when .1 would be okay? I can see not wanting to do 1.0
   bytes (where it would be silly), but if a decimal makes sense in some
   contexts, why not in others? Shouldn't we just be following normal
   scientific significant digits rules?


well, considering this is about _humanising_ a number...
i don't think that we do that at all.


.mrg.



Home | Main Index | Thread Index | Old Index