version 1.1.1.2, 2013/10/14 07:51:14
|
version 1.1.1.3, 2021/03/17 00:32:36
|
Line 34
|
Line 34
|
* probably requires libm on most operating systems. Don't yet |
* probably requires libm on most operating systems. Don't yet |
* support the exponent (e,E) and sigfig (g,G). Also, fmtint() |
* support the exponent (e,E) and sigfig (g,G). Also, fmtint() |
* was pretty badly broken, it just wasn't being exercised in ways |
* was pretty badly broken, it just wasn't being exercised in ways |
* which showed it, so that's been fixed. Also, formated the code | * which showed it, so that's been fixed. Also, formatted the code |
* to mutt conventions, and removed dead code left over from the |
* to mutt conventions, and removed dead code left over from the |
* original. Also, there is now a builtin-test, just compile with: |
* original. Also, there is now a builtin-test, just compile with: |
* gcc -I.. -DTEST_SNPRINTF -o snprintf snprintf.c -lm |
* gcc -I.. -DTEST_SNPRINTF -o snprintf snprintf.c -lm |
Line 77
|
Line 77
|
* Fix incorrect zpadlen handling in fmtfp. |
* Fix incorrect zpadlen handling in fmtfp. |
* Thanks to Ollie Oldham <ollie.oldham@metro-optix.com> for spotting it. |
* Thanks to Ollie Oldham <ollie.oldham@metro-optix.com> for spotting it. |
* few mods to make it easier to compile the tests. |
* few mods to make it easier to compile the tests. |
* addedd the "Ollie" test to the floating point ones. | * added the "Ollie" test to the floating point ones. |
* |
* |
* Martin Pool (mbp@samba.org) April 2003 |
* Martin Pool (mbp@samba.org) April 2003 |
* Remove NO_CONFIG_H so that the test case can be built within a source |
* Remove NO_CONFIG_H so that the test case can be built within a source |