<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/misc/sort-float, branch v8.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-10-17T07:18:57Z</updated>
<entry>
<title>tests: sort-float: avoid spurious test failure on ppc/ppc64</title>
<updated>2010-10-17T07:18:57Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-10-16T18:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=766ec503f7916dd73486a658b4da5307eaf4cd60'/>
<id>urn:sha1:766ec503f7916dd73486a658b4da5307eaf4cd60</id>
<content type='text'>
* tests/misc/sort-float: On systems with DBL_MIN &lt; LDBL_MIN,
this test would fail because the expected output was not sorted.
Detect that case, and if needed, reverse those two values.
</content>
</entry>
<entry>
<title>sort: use long doubles for general numeric mode</title>
<updated>2010-04-29T17:55:57Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-04-28T22:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8b5087d4e62439503e3cba774de225893b9ea81a'/>
<id>urn:sha1:8b5087d4e62439503e3cba774de225893b9ea81a</id>
<content type='text'>
* src/sort.c (general_numcompare): Use long doubles unconditionally,
and strtold when available, to convert numbers with greater range and
precision.  Performance was seen to be on par with standard doubles.
* doc/coreutils.texi (sort invocation): Amend the -g description to
mention long double rather than double, and strtold rather than strtod.
* src/getlimits.c (main): Output floating point limits for use in tests.
* tests/misc/sort-float: A new test to ensure sort is using long
doubles when possible, and that locale specific floats are handled.
* tests/Makefile.am: Reference the new test.
* tests/test-lib.sh (getlimits_): Normalize indenting.
* NEWS: Mention the new behaviour.
Reported by Nelson Beebe.
</content>
</entry>
</feed>
