summaryrefslogtreecommitdiffstats
path: root/lib/libutil/fmt_scaled.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix overly-conservative overflow checks on mulitplications and add checksdtucker2017-03-161-3/+11
* Collapse underflow and overflow checks into a single block.dtucker2017-03-151-7/+4
* Catch integer underflow in scan_scaled reported by Nicolas Iooss.dtucker2017-03-151-1/+6
* fix signed integer overflow in scan_scaled. Found by Nicolas Ioossdjm2017-03-111-1/+14
* fairly simple unsigned char casts for ctypederaadt2013-11-291-5/+6
* make scan_scaled set errno to EINVAL rather than ERANGE if it encountershalex2012-11-121-2/+4
* use llabs instead of the home-grown version; and some comment changesmartynas2009-06-201-4/+4
* remove some bogus *p from charles longeautedu2007-03-201-4/+4
* library routines should not be checking for NULL pointers passed in,deraadt2005-10-191-11/+1
* scrape $Id$ tags.espie2005-08-021-5/+1
* Fix rounding of fractionless numbers. ok tom@ miod@otto2005-03-091-4/+10
* Fix sizing of fraction. ok tom@ deraadt@otto2005-03-081-9/+4
* fix 1099512676352 -> 2.0T; ok miod@otto2004-09-161-3/+3
* knf; otto okderaadt2004-05-281-3/+4
* o Do not drop unit when printing -100otto2003-12-271-5/+8
* New: fmt_scaled() and scan_scaled() convert to and from "human readable"ian2003-05-151-0/+277