<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glibc.git/sysdeps/x86_64, branch rsa/stdint</title>
<subtitle>sourceware.org: git/glibc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/'/>
<entry>
<title>Add #include &lt;stdint.h&gt; for uint[32|64]_t usage.</title>
<updated>2013-04-29T23:48:43+00:00</updated>
<author>
<name>Ryan S. Arnold</name>
<email>rsa@linux.vnet.ibm.com</email>
</author>
<published>2013-04-29T23:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=4eb401a9c95a1313baad1393b0c3e0508b5d3f9a'/>
<id>4eb401a9c95a1313baad1393b0c3e0508b5d3f9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix catan, catanh spurious overflows (bug 15409).</title>
<updated>2013-04-27T14:57:41+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2013-04-27T14:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=5b4217d71f592287bc77d80e08a20873bce86756'/>
<id>5b4217d71f592287bc77d80e08a20873bce86756</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update x86_64 ULPs</title>
<updated>2013-04-26T07:30:46+00:00</updated>
<author>
<name>Markus Trippelsdorf</name>
<email>markus@trippelsdorf.de</email>
</author>
<published>2013-04-26T07:30:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=1b8359836df38a33306ce359fa031b3fe33d6077'/>
<id>1b8359836df38a33306ce359fa031b3fe33d6077</id>
<content type='text'>
2013-04-26  Markus Trippelsdorf  &lt;markus@trippelsdorf.de&gt;

	* sysdeps/x86_64/fpu/libm-test-ulps: Update.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2013-04-26  Markus Trippelsdorf  &lt;markus@trippelsdorf.de&gt;

	* sysdeps/x86_64/fpu/libm-test-ulps: Update.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move x86_64-specific audit tests to sysdeps/x86_64/.</title>
<updated>2013-04-25T19:23:11+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2013-04-25T19:23:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=73709b2611f29d73dbe31de70cc775f27e2650aa'/>
<id>73709b2611f29d73dbe31de70cc775f27e2650aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix catan, catanh inaccuracy through use of log (bug 15394).</title>
<updated>2013-04-24T18:49:13+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2013-04-24T18:49:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=2f38fbfe09e4856c571bf0c80844e5dac9bc77ec'/>
<id>2f38fbfe09e4856c571bf0c80844e5dac9bc77ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libm-test.inc: Fix tests where cos(PI/2) != 0.</title>
<updated>2013-04-11T12:52:18+00:00</updated>
<author>
<name>Carlos O'Donell</name>
<email>carlos@redhat.com</email>
</author>
<published>2013-04-11T12:52:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=aba5e333d4bde2710d9e91dfbc660bd881aef1f7'/>
<id>aba5e333d4bde2710d9e91dfbc660bd881aef1f7</id>
<content type='text'>
The value of PI is never exactly PI in any floating point representation,
and the value of PI/2 is never PI/2. It is wrong to expect cos(M_PI_2l)
to return 0, instead it will return an answer that is  non-zero because
M_PI_2l doesn't round to exactly PI/2 in the type used.

That is to say that the correct answer is to do the following:
* Take PI or PI/2.
* Round to the floating point representation.
* Take the rounded value and compute an infinite precision cos or sin.
* Use the rounded result of the infinite precision cos or sin as the
  answer to the test.

I used printf to do the type rounding, and Wolfram's Alpha to do the
infinite precision cos calculations.

The following changes bring x86-64 and x86 to 1/2 ulp for two tests.
It shows that the x86 cos implementation is quite good, and that
our test are flawed.

Unfortunately given that the rounding errors are type dependent we
need to fix this for each type. No regressions on x86-64 or x86.

---

2013-04-11  Carlos O'Donell  &lt;carlos@redhat.com&gt;

	* math/libm-test.inc (cos_test): Fix PI/2 test.
	(sincos_test): Likewise.
	* sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
	* sysdeps/i386/fpu/libm-test-ulps: Regenerate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The value of PI is never exactly PI in any floating point representation,
and the value of PI/2 is never PI/2. It is wrong to expect cos(M_PI_2l)
to return 0, instead it will return an answer that is  non-zero because
M_PI_2l doesn't round to exactly PI/2 in the type used.

That is to say that the correct answer is to do the following:
* Take PI or PI/2.
* Round to the floating point representation.
* Take the rounded value and compute an infinite precision cos or sin.
* Use the rounded result of the infinite precision cos or sin as the
  answer to the test.

I used printf to do the type rounding, and Wolfram's Alpha to do the
infinite precision cos calculations.

The following changes bring x86-64 and x86 to 1/2 ulp for two tests.
It shows that the x86 cos implementation is quite good, and that
our test are flawed.

Unfortunately given that the rounding errors are type dependent we
need to fix this for each type. No regressions on x86-64 or x86.

---

2013-04-11  Carlos O'Donell  &lt;carlos@redhat.com&gt;

	* math/libm-test.inc (cos_test): Fix PI/2 test.
	(sincos_test): Likewise.
	* sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
	* sysdeps/i386/fpu/libm-test-ulps: Regenerate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix cacosh inaccuracy and spurious exceptions (bug 15327).</title>
<updated>2013-04-02T22:54:00+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2013-04-02T22:54:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=52ce486045074d0af0298082f94e385e6b2fe443'/>
<id>52ce486045074d0af0298082f94e385e6b2fe443</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix casinh inaccuracy for imaginary part &lt; 1.0, real part small (bug 10357).</title>
<updated>2013-03-30T13:31:53+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2013-03-30T13:31:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=ccc8cadf750fc3626fa418a92642b6127428f404'/>
<id>ccc8cadf750fc3626fa418a92642b6127428f404</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix casinh inaccuracy near i, imaginary part &gt; 1 (bug 15307).</title>
<updated>2013-03-27T14:38:44+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2013-03-27T14:38:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=3a7182a14becbf3149419bdbaff4388b636c9f31'/>
<id>3a7182a14becbf3149419bdbaff4388b636c9f31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BZ#11120: fix x86_64/strcmp.S NOT_IN_libc safeguards</title>
<updated>2013-03-22T03:16:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2013-03-21T23:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=2e0fb52187504fad6657c9462ce650a540d5e387'/>
<id>2e0fb52187504fad6657c9462ce650a540d5e387</id>
<content type='text'>
Due to a typo repeated several times, this bug hasn't been fixed yet,
despite being marked as resolved in glibc 2.12.

* sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
with NOT_IN_libc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to a typo repeated several times, this bug hasn't been fixed yet,
despite being marked as resolved in glibc 2.12.

* sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
with NOT_IN_libc.
</pre>
</div>
</content>
</entry>
</feed>
