Page MenuHomeFreeBSD

D56230.id174987.diff
No OneTemporary

D56230.id174987.diff

diff --git a/lib/msun/man/fmax.3 b/lib/msun/man/fmax.3
--- a/lib/msun/man/fmax.3
+++ b/lib/msun/man/fmax.3
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd June 29, 2004
+.Dd April 6, 2026
.Dt FMAX 3
.Os
.Sh NAME
@@ -68,10 +68,6 @@
.Fa x
and
.Fa y .
-They treat
-.Li +0.0
-as being larger than
-.Li -0.0 .
If one argument is an \*(Na, then the other argument is returned.
If both arguments are \*(Nas, then the result is an \*(Na.
These routines do not raise any floating-point exceptions.
@@ -90,6 +86,13 @@
.Fn fminl
functions conform to
.St -isoC-99 .
+.Sh CAVEATS
+The library implementations of these functions treat
+.Li +0.0
+as being larger than
+.Li -0.0 .
+This behavior is not specified by the C standard, is not portable,
+and may not occur in light of compiler optimizations.
.Sh HISTORY
These routines first appeared in
.Fx 5.3 .

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 18, 9:43 AM (5 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36889535
Default Alt Text
D56230.id174987.diff (933 B)

Event Timeline