<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/msun/man, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>msun/math.3: reference new functions f{max,min}imum{,_num,_mag}()</title>
<updated>2026-04-11T18:09:13+00:00</updated>
<author>
<name>Robert Clausecker</name>
<email>fuz@FreeBSD.org</email>
</author>
<published>2026-03-31T16:55:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=47ca491ca425d0d3d8e2a8a3cac40d6565d8ab6a'/>
<id>47ca491ca425d0d3d8e2a8a3cac40d6565d8ab6a</id>
<content type='text'>
See also:	D55834, D56236
MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See also:	D55834, D56236
MFC after:	1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/msun: Added fmaximum_mag and fmaximum_num families</title>
<updated>2026-04-11T18:09:13+00:00</updated>
<author>
<name>Jesús Blázquez</name>
<email>jesuscblazquez@gmail.com</email>
</author>
<published>2026-04-11T08:11:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4e30c12973c73539bef01be3870a90b6346141e8'/>
<id>4e30c12973c73539bef01be3870a90b6346141e8</id>
<content type='text'>
Added support for the f{maximum,minimum}_{mag,num} families, the new
C23 standard functions for maximum magnitude and number-preferring
maximum.  This includes modifying fmax.3, on top of D56230, to
recommend the use of fmaximum_num and fminimum_num.

Reviewed by:	fuz, kargl
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D56236
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support for the f{maximum,minimum}_{mag,num} families, the new
C23 standard functions for maximum magnitude and number-preferring
maximum.  This includes modifying fmax.3, on top of D56230, to
recommend the use of fmaximum_num and fminimum_num.

Reviewed by:	fuz, kargl
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D56236
</pre>
</div>
</content>
</entry>
<entry>
<title>fmax.3: Add caveat for going beyond C std requirements</title>
<updated>2026-04-06T17:00:15+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-04-02T21:59:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7764e9ca28a9702aed4ba7391e055ec2fcf35c41'/>
<id>7764e9ca28a9702aed4ba7391e055ec2fcf35c41</id>
<content type='text'>
libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:		294214
Reviewed by:	fuz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:		294214
Reviewed by:	fuz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/msun: Added fmaximum and fminimum family. Tests and man page</title>
<updated>2026-04-04T16:52:40+00:00</updated>
<author>
<name>Jesús Blázquez</name>
<email>jesuscblazquez@gmail.com</email>
</author>
<published>2026-03-31T16:31:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e55db843ef45a8788f69e110d97210fb3968b92f'/>
<id>e55db843ef45a8788f69e110d97210fb3968b92f</id>
<content type='text'>
Starting from the existing fmax{,f,l} functions I've added the fmaximum
family, which handles NaN according to the newest standard (propagating
it).

This commit is a PoC for GSoC 2026.

Reviewed by:	fuz, kargl
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D55834
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting from the existing fmax{,f,l} functions I've added the fmaximum
family, which handles NaN according to the newest standard (propagating
it).

This commit is a PoC for GSoC 2026.

Reviewed by:	fuz, kargl
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D55834
</pre>
</div>
</content>
</entry>
<entry>
<title>msun: document that {sin,cos,tan}pi(3) follow C23</title>
<updated>2025-11-17T17:18:46+00:00</updated>
<author>
<name>Robert Clausecker</name>
<email>fuz@FreeBSD.org</email>
</author>
<published>2025-11-17T17:10:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4fcc58afbff924293c721f4c4056bb7f94580f22'/>
<id>4fcc58afbff924293c721f4c4056bb7f94580f22</id>
<content type='text'>
 - also use new .St -ieee754-2008 request in *pi.3

Reviewed by:	imp
Approved by	markj (mentor)
See also:	D53784
Differential Revision:	https://reviews.freebsd.org/D53783
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - also use new .St -ieee754-2008 request in *pi.3

Reviewed by:	imp
Approved by	markj (mentor)
See also:	D53784
Differential Revision:	https://reviews.freebsd.org/D53783
</pre>
</div>
</content>
</entry>
<entry>
<title>manuals: Fix some .Bl -tag lists</title>
<updated>2024-11-18T17:30:40+00:00</updated>
<author>
<name>Graham Percival</name>
<email>gperciva@tarsnap.com</email>
</author>
<published>2024-11-15T17:44:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=10343013a4daff5e009a2fe980086ce915fb5a28'/>
<id>10343013a4daff5e009a2fe980086ce915fb5a28</id>
<content type='text'>
Signed-off-by:	Graham Percival &lt;gperciva@tarsnap.com&gt;
Reviewed by:	mhorne, Alexander Ziaee &lt;concussious.bugzilla@runbox.com&gt;
MFC after:	3 days
Sponsored by:	Tarsnap Backup Inc.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1528
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by:	Graham Percival &lt;gperciva@tarsnap.com&gt;
Reviewed by:	mhorne, Alexander Ziaee &lt;concussious.bugzilla@runbox.com&gt;
MFC after:	3 days
Sponsored by:	Tarsnap Backup Inc.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1528
</pre>
</div>
</content>
</entry>
<entry>
<title>erf.3: Add a STANDARDS section</title>
<updated>2024-06-23T10:50:47+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-06-23T10:50:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=16c3d7e1fa150ee136b910448cf431e8deab5293'/>
<id>16c3d7e1fa150ee136b910448cf431e8deab5293</id>
<content type='text'>
Add a STANDARDS section for the erf(3) manual page.

PR:	273413
Reviewed by:	pauamma_gundo.com
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D44140
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a STANDARDS section for the erf(3) manual page.

PR:	273413
Reviewed by:	pauamma_gundo.com
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D44140
</pre>
</div>
</content>
</entry>
<entry>
<title>Now that D44168 has been merged to stable/14, update the manpage</title>
<updated>2024-04-12T15:33:54+00:00</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2024-04-12T15:33:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=737799dfd3a87cbbe1ff091c13a90c98e3ee21d3'/>
<id>737799dfd3a87cbbe1ff091c13a90c98e3ee21d3</id>
<content type='text'>
to correctly reflect history.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to correctly reflect history.
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/msun: Fix tgammal(3) on IEEE 128-bit platforms</title>
<updated>2024-03-18T09:48:43+00:00</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2024-03-01T15:53:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e38f2308273c8a51ec45f013d22c963590917cca'/>
<id>e38f2308273c8a51ec45f013d22c963590917cca</id>
<content type='text'>
Undo the 80-bit "stub" implementation of the 128-bit long double
tgammal(3) function. The latest (as of Feb 2024) version of the
src/contrib/arm-optimised-routines library includes a standalone,
full 128-bit replacement. This needs a small bit of wrapping to
fit it in, but is otherwise a drop-in replacement.

Testing this is hard, as most maths packages blow up as soon as
their 80-bit floating-point capability is exceeded. With 128-bit
tgammal(), this is easy to do, and this is the range that needs to
be checked the most carefully. Using my copy of Maple, I was able
to check that the output was within a few ULP of the correct answer,
right up to the point of 128-bit over- and underflow. Additionally,
the results are no worse, and indeed better than the 80-bit version.

Steve Kargl sent me his libm testing code, which I used to verify
that the excpetions for certain key values were correct. Tested in
this case were +-Inf, +-NaN, +-1 and +-0.

Differential Revision:	https://reviews.freebsd.org/D44168
Reviewed by:	theraven, andrew, imp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Undo the 80-bit "stub" implementation of the 128-bit long double
tgammal(3) function. The latest (as of Feb 2024) version of the
src/contrib/arm-optimised-routines library includes a standalone,
full 128-bit replacement. This needs a small bit of wrapping to
fit it in, but is otherwise a drop-in replacement.

Testing this is hard, as most maths packages blow up as soon as
their 80-bit floating-point capability is exceeded. With 128-bit
tgammal(), this is easy to do, and this is the range that needs to
be checked the most carefully. Using my copy of Maple, I was able
to check that the output was within a few ULP of the correct answer,
right up to the point of 128-bit over- and underflow. Additionally,
the results are no worse, and indeed better than the 80-bit version.

Steve Kargl sent me his libm testing code, which I used to verify
that the excpetions for certain key values were correct. Tested in
this case were +-Inf, +-NaN, +-1 and +-0.

Differential Revision:	https://reviews.freebsd.org/D44168
Reviewed by:	theraven, andrew, imp
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Remove ancient SCCS tags.</title>
<updated>2023-11-27T05:23:28+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-23T17:21:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dc36d6f9bb1753f3808552f3afd30eda9a7b206a'/>
<id>dc36d6f9bb1753f3808552f3afd30eda9a7b206a</id>
<content type='text'>
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
</feed>
