<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc.git/math, branch release/2.41/master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/'/>
<entry>
<title>math: Remove an extra semicolon in math function declarations</title>
<updated>2025-03-08T12:35:03+00:00</updated>
<author>
<name>Aurelien Jarno</name>
<email>aurelien@aurel32.net</email>
</author>
<published>2025-03-06T18:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=66fc3bd75871d7239245c767abf44fb96d772f66'/>
<id>66fc3bd75871d7239245c767abf44fb96d772f66</id>
<content type='text'>
Commit 6bc301672bfbd ("math: Remove __XXX math functions from installed
math.h [BZ #32418]") left an extra semicolon after macro expansion. For
instance the ceil declaration after expansion is:

  extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));;

This chokes very naive parsers like gauche c-wrapper. Fix that by
removing that extra semicolon in the macro.

Reviewed-by: Adhemerval Zanella  &lt;adhemerval.zanella@linaro.org&gt;
(cherry picked from commit 443cb0b5f25129dd0f1e9f9101299d31c4700b7f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 6bc301672bfbd ("math: Remove __XXX math functions from installed
math.h [BZ #32418]") left an extra semicolon after macro expansion. For
instance the ceil declaration after expansion is:

  extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));;

This chokes very naive parsers like gauche c-wrapper. Fix that by
removing that extra semicolon in the macro.

Reviewed-by: Adhemerval Zanella  &lt;adhemerval.zanella@linaro.org&gt;
(cherry picked from commit 443cb0b5f25129dd0f1e9f9101299d31c4700b7f)
</pre>
</div>
</content>
</entry>
<entry>
<title>math: Fix tanf for some inputs (BZ 32630)</title>
<updated>2025-02-03T12:44:45+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2025-02-02T19:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=cf88351b685da86667e17d344414a70696ac82f1'/>
<id>cf88351b685da86667e17d344414a70696ac82f1</id>
<content type='text'>
The logic was copied wrong from CORE-MATH.

(cherry picked from commit 09e7f4d594b4308fbea18e3044148d67b59757c9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The logic was copied wrong from CORE-MATH.

(cherry picked from commit 09e7f4d594b4308fbea18e3044148d67b59757c9)
</pre>
</div>
</content>
</entry>
<entry>
<title>math: Fix sinhf for some inputs (BZ 32627)</title>
<updated>2025-01-31T16:11:38+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2025-01-31T13:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=d85a7719536f4892f2b53d4594e18f6d096c2882'/>
<id>d85a7719536f4892f2b53d4594e18f6d096c2882</id>
<content type='text'>
The logic was copied wrong from CORE-MATH.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The logic was copied wrong from CORE-MATH.
</pre>
</div>
</content>
</entry>
<entry>
<title>math: Fix log10p1f internal table value (BZ 32626)</title>
<updated>2025-01-31T16:10:45+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2025-01-31T13:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=bdccbfbc52d3f6957768a0b9d5bd7bc4c90f2744'/>
<id>bdccbfbc52d3f6957768a0b9d5bd7bc4c90f2744</id>
<content type='text'>
It was copied wrong from CORE-MATH.

(cherry picked from commit c79277a16785c8ae96d821414f4d31d654a0177c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was copied wrong from CORE-MATH.

(cherry picked from commit c79277a16785c8ae96d821414f4d31d654a0177c)
</pre>
</div>
</content>
</entry>
<entry>
<title>AArch64: Add vector tanpi routines</title>
<updated>2025-01-03T21:39:56+00:00</updated>
<author>
<name>Joe Ramsay</name>
<email>Joe.Ramsay@arm.com</email>
</author>
<published>2025-01-03T20:13:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=080998f6e7a2a5ec5425a3a4131e182085a64849'/>
<id>080998f6e7a2a5ec5425a3a4131e182085a64849</id>
<content type='text'>
Vector variant of the new C23 tanpi. New tests pass on AArch64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Vector variant of the new C23 tanpi. New tests pass on AArch64.
</pre>
</div>
</content>
</entry>
<entry>
<title>AArch64: Add vector cospi routines</title>
<updated>2025-01-03T21:39:56+00:00</updated>
<author>
<name>Joe Ramsay</name>
<email>Joe.Ramsay@arm.com</email>
</author>
<published>2025-01-03T20:12:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=40c3a0629321eb2442a220cd9254a0086f70c422'/>
<id>40c3a0629321eb2442a220cd9254a0086f70c422</id>
<content type='text'>
Vector variant of the new C23 cospi. New tests pass on AArch64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Vector variant of the new C23 cospi. New tests pass on AArch64.
</pre>
</div>
</content>
</entry>
<entry>
<title>AArch64: Add vector sinpi to libmvec</title>
<updated>2025-01-03T21:39:56+00:00</updated>
<author>
<name>Joe Ramsay</name>
<email>Joe.Ramsay@arm.com</email>
</author>
<published>2025-01-03T20:07:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=6050b45716ed76b9c5407bea160db53195dcc445'/>
<id>6050b45716ed76b9c5407bea160db53195dcc445</id>
<content type='text'>
Vector variant of the new C23 sinpi. New tests pass on AArch64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Vector variant of the new C23 sinpi. New tests pass on AArch64.
</pre>
</div>
</content>
</entry>
<entry>
<title>math: Remove no-mathvec flag</title>
<updated>2025-01-03T21:39:56+00:00</updated>
<author>
<name>Joe Ramsay</name>
<email>Joe.Ramsay@arm.com</email>
</author>
<published>2025-01-03T19:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=939e770e0196ebd763cacc602421b76d62df0798'/>
<id>939e770e0196ebd763cacc602421b76d62df0798</id>
<content type='text'>
More routines are to follow, some of which hit many failures in the
current testsuite due to wrong sign of zero (mathvec routines are not
required to get this right). Instead of disabling a large number of
tests, change the failure condition such that, for vector routines,
tests pass as long as computed == expected == 0.0, regardless of sign.

Affected tests (vector tests for expm1, log1p, sin, tan and tanh) all
still pass.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More routines are to follow, some of which hit many failures in the
current testsuite due to wrong sign of zero (mathvec routines are not
required to get this right). Instead of disabling a large number of
tests, change the failure condition such that, for vector routines,
tests pass as long as computed == expected == 0.0, regardless of sign.

Affected tests (vector tests for expm1, log1p, sin, tan and tanh) all
still pass.
</pre>
</div>
</content>
</entry>
<entry>
<title>math: Add a reference to Clang's &lt;tgmath.h&gt; C23 issue</title>
<updated>2025-01-03T20:52:00+00:00</updated>
<author>
<name>H.J. Lu</name>
<email>hjl.tools@gmail.com</email>
</author>
<published>2025-01-03T02:24:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=bb4f241dba734ddb1bd6e436b21938c1317a8fb4'/>
<id>bb4f241dba734ddb1bd6e436b21938c1317a8fb4</id>
<content type='text'>
Clang's &lt;tgmath.h&gt; doesn't support all C23 functions in glibc's &lt;tgmath.h&gt;:

https://github.com/llvm/llvm-project/issues/121536

Signed-off-by: H.J. Lu &lt;hjl.tools@gmail.com&gt;
Reviewed-by: Sam James &lt;sam@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clang's &lt;tgmath.h&gt; doesn't support all C23 functions in glibc's &lt;tgmath.h&gt;:

https://github.com/llvm/llvm-project/issues/121536

Signed-off-by: H.J. Lu &lt;hjl.tools@gmail.com&gt;
Reviewed-by: Sam James &lt;sam@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>new inputs with large errors for [a]cospi, [a]sinpi, [a]tanpi, atan2pi</title>
<updated>2025-01-02T17:26:36+00:00</updated>
<author>
<name>Paul Zimmermann</name>
<email>Paul.Zimmermann@inria.fr</email>
</author>
<published>2024-12-20T09:41:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=e5ca265a9c9054c01c7811751e035bbe998f49b8'/>
<id>e5ca265a9c9054c01c7811751e035bbe998f49b8</id>
<content type='text'>
These inputs were generated with the programs from
https://gitlab.inria.fr/zimmerma/math_accuracy,
with rounding to nearest:

* for univariate binary32 functions by exhaustive search
* for other functions with the "threshold" parameter up to 10^6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These inputs were generated with the programs from
https://gitlab.inria.fr/zimmerma/math_accuracy,
with rounding to nearest:

* for univariate binary32 functions by exhaustive search
* for other functions with the "threshold" parameter up to 10^6
</pre>
</div>
</content>
</entry>
</feed>
