index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
lib
/
libutil
/
fmt_scaled.c
Age
Commit message (
Expand
)
Author
2022-12-27
spelling fixes; from paul tagliamonte
Jason McIntyre
2022-03-11
Revert previous commit. The problem it was attempting to fix was already
Darren Tucker
2022-03-11
Check for underflow as well as overflow when scaling negative numbers.
Darren Tucker
2021-06-20
scan_scaled: fix rescaling for negative numbers
Theo Buehler
2020-10-12
make fixed-sized fixed-value mib[] arrays be const
Theo de Raadt
2019-01-14
Calling llabs(LLONG_MIN) is undefined behavior, llvm 7.0.1 does not
Alexander Bluhm
2018-05-14
constrain fractional part to [0-9] (less confusing to static analysis); ok ian@
Damien Miller
2017-03-16
Fix overly-conservative overflow checks on mulitplications and add checks
Darren Tucker
2017-03-15
Collapse underflow and overflow checks into a single block.
Darren Tucker
2017-03-15
Catch integer underflow in scan_scaled reported by Nicolas Iooss.
Darren Tucker
2017-03-11
fix signed integer overflow in scan_scaled. Found by Nicolas Iooss
Damien Miller
2013-11-29
fairly simple unsigned char casts for ctype
Theo de Raadt
2012-11-12
make scan_scaled set errno to EINVAL rather than ERANGE if it encounters
Alexander Hall
2009-06-20
use llabs instead of the home-grown version; and some comment changes
Martynas Venckus
2007-03-20
remove some bogus *p from charles longeau
Ted Unangst
2005-10-19
library routines should not be checking for NULL pointers passed in,
Theo de Raadt
2005-08-02
scrape $Id$ tags.
Marc Espie
2005-03-09
Fix rounding of fractionless numbers. ok tom@ miod@
Otto Moerbeek
2005-03-08
Fix sizing of fraction. ok tom@ deraadt@
Otto Moerbeek
2004-09-16
fix 1099512676352 -> 2.0T; ok miod@
Otto Moerbeek
2004-05-28
knf; otto ok
Theo de Raadt
2003-12-27
o Do not drop unit when printing -100
Otto Moerbeek
2003-05-15
New: fmt_scaled() and scan_scaled() convert to and from "human readable"
Ian Darwin