summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/stdio/test-printfloat.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2003-04-05 22:11:42 +0000
committerdas <das@FreeBSD.org>2003-04-05 22:11:42 +0000
commit541451f14d636efa300b5864f8431a30d00b170b (patch)
tree47fff2913fc79cfd3d0ece44875602b63a25ecab /tools/regression/lib/libc/stdio/test-printfloat.c
parent2d9148b622967fe103f5945f10d5c6917368dec6 (diff)
downloadFreeBSD-src-541451f14d636efa300b5864f8431a30d00b170b.zip
FreeBSD-src-541451f14d636efa300b5864f8431a30d00b170b.tar.gz
Rework the floating point code in printf(). Significant changes:
- We used to round long double arguments to double. Now we print them properly. - Bugs involving '%F', corner cases of '#' and 'g' format specifiers, and the '.*' precision specifier have been fixed. - Added support for the "'" specifier to print thousands' grouping characters in a locale-dependent manner. - Implement the __vfprintf() side of hexadecimal floating point support. All that is still needed is a routine to convert the mantissa to hex digits one nibble at a time in the style of ultoa(). Reviewed by: silence on standards@
Diffstat (limited to 'tools/regression/lib/libc/stdio/test-printfloat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud