summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/stdio/test-printfloat.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale tools/regression directory that should have been deletedngie2015-12-051-357/+0
| | | | | | in r291840 Sponsored by: EMC / Isilon Storage Division
* Update the tests for arm and other ports where long double is the samedas2012-01-141-3/+3
| | | | as double, similar to r178141.
* Test wprintf() in addition to printf().das2009-01-311-3/+19
|
* Updates for changes in the way printf() handles hex floating pointdas2008-04-121-5/+5
| | | | numbers.
* Make sure we set the locale to "C" when testing thousands' separatordas2007-12-031-2/+2
| | | | | support, rather than just "", which refers to the system default based on the environment.
* Tests for rounding, and for the leading 0's bug.das2007-12-031-1/+13
|
* - Split the printfloat test into 11 individually wrapped and packageddas2005-03-011-8/+99
| | | | | | | | | | | | | | tests. (Buy 10, get one free!) The separate categories were already there; they just weren't labeled. - Use fesetround() instead of fpsetround(), since the former is standard and implemented on all supported architectures. Add tests for each rounding mode. - Add additional tests for subnormals. Some of these tests won't pass until problems in vendor sources (gdtoa and gcc) are fixed and new versions imported, but I want to get these changes into the tree before I accidentally blow them away.
* Switch over to a different, more flexible test output protocol that'snik2004-11-111-1/+2
| | | | | | | | | | | | | | | | | | | | understood by Perl's Test::Harness module and prove(1) commands. Update README to describe the new protocol. The work's broken down into two main sets of changes. First, update the existing test programs (shell scripts and C programs) to produce output in the ok/not ok format, and to, where possible, also produce a header describing the number of tests that are expected to be run. Second, provide the .t files that actually run the tests. In some cases these are copies of, or very similar too, scripts that already existed. I've kept the old scripts around so that it's possible to verify that behaviour under this new system (in terms of whether or not a test fails) is identical to the behaviour under the old system. Add a TODO file.
* Add a regression test for floating-point output in the Greek locale.keramida2004-10-131-0/+7
| | | | | | See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src Reviewed by: das (a while ago)
* Add regression tests for printf's %a/%A formats.das2004-01-191-1/+38
| | | | | | While here, disable some of the long double tests on i386, since FreeBSD/i386 is the only port that doesn't evaluate long doubles in their full precision (due to constant folding bugs in gcc).
* Add a dozen new tests with the general theme of getting trailingdas2003-04-191-0/+12
| | | | zeroes right.
* Add a test case for printf("%5.0f", 0.001).das2003-04-141-0/+2
|
* Additional regression tests for grouping, parsing of '.*', and printingdas2003-04-071-0/+9
| | | | of %f formats where the number of significant digits is < expt.
* Test for bug in revision 1.54 of vfprintf.c.tjr2003-04-061-0/+3
|
* Regression tests for printf()'s floating point formats.das2003-04-051-0/+167
Tests for correct printing of subnormals are lacking.
OpenPOWER on IntegriCloud