Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166873279
D56230.id174987.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
933 B
Referenced Files
None
Subscribers
None
D56230.id174987.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D56230: fmax.3: Add caveat for going beyond C std requirements
Attached
Detach File
Event Timeline
Log In to Comment