Commit Graph

63 Commits

Author SHA1 Message Date
Rohit Nirmal
13927ac386 stb_printf.h: Reuse code for assigning lead sign. 2016-12-06 10:34:08 -06:00
Daniel
4338a0e55e Fix the check for a percent character
It was matching everything less than 0x26, so could cause a minor
performance loss. Also made the second if statement superfluous.
2016-12-05 21:03:05 +00:00
jarikomppa
0e63382be0 A bit more involved change: support for both 1000 and 1024 divisors, and SI and JEDEC suffixes, as well as removing the space between number and suffix. 2016-12-05 17:23:01 +02:00
Sean Barrett
3e7f2d6ebd fix missing renames 2016-12-05 06:58:30 -08:00
Sean Barrett
bec0b26d1e Merge branch 'master' of https://github.com/nothings/stb 2016-12-05 06:53:53 -08:00
Sean Barrett
554e072742 fix #ifdef mistake in stb_sprintf 2016-12-05 06:53:36 -08:00
jarikomppa
9a3f9dff13 More proper fix for the prefixes (defaults to Ki style, with define for using K style instead) 2016-12-05 15:08:54 +02:00
jarikomppa
a27e577c3e The Si prefixes for mega, giga and tera are upper case (lower case m is not mega but milli) 2016-12-05 14:56:35 +02:00
Aras Pranckevičius
e6e20b43db stb_sprintf: seperators -> separators typo in comment 2016-12-05 14:49:39 +02:00
Sean Barrett
ca3b8d7426 add credits to readme 2016-12-05 04:19:53 -08:00
Sean Barrett
9953803d0c fix bad search-replace in comment 2016-12-05 03:53:54 -08:00
Sean Barrett
c9fe5bac48 rename all stb_sprintf identifiers to follow stb conventions 2016-12-05 03:48:37 -08:00
Sean Barrett
fd23d7097d rename rrsprintf to stb_sprintf 2016-12-05 02:58:16 -08:00