From 9a6ff5bc53dedbaa601a1a76cbaf8a76afd60c9f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:06 +0200 Subject: Adding upstream version 6.7. Signed-off-by: Daniel Baumann --- man3/copysign.3 | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'man3/copysign.3') diff --git a/man3/copysign.3 b/man3/copysign.3 index 9bd7932..8f7e7ab 100644 --- a/man3/copysign.3 +++ b/man3/copysign.3 @@ -9,7 +9,7 @@ .\" 386BSD man pages .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu) .\" Modified 2002-08-10 by Walter Harms (walter.harms@informatik.uni-oldenburg.de) -.TH copysign 3 2023-07-20 "Linux man-pages 6.05.01" +.TH copysign 3 2023-10-31 "Linux man-pages 6.7" .SH NAME copysign, copysignf, copysignl \- copy sign of a number .SH LIBRARY @@ -18,17 +18,17 @@ Math library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "double copysign(double " x ", double " y ); .BI "float copysignf(float " x ", float " y ); .BI "long double copysignl(long double " x ", long double " y ); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR copysign (), .BR copysignf (), .BR copysignl (): @@ -42,7 +42,7 @@ These functions return a value whose absolute value matches that of .IR x , but whose sign bit matches that of .IR y . -.PP +.P For example, .I "copysign(42.0,\ \-1.0)" and @@ -53,7 +53,7 @@ On success, these functions return a value whose magnitude is taken from .I x and whose sign is taken from .IR y . -.PP +.P If .I x is a NaN, @@ -78,13 +78,12 @@ T{ .BR copysignl () T} Thread safety MT-Safe .TE -.sp 1 .SH VERSIONS On architectures where the floating-point formats are not IEEE 754 compliant, these functions may treat a negative zero as positive. .SH STANDARDS C11, POSIX.1-2008. -.PP +.P This function is defined in IEC 559 (and the appendix with recommended functions in IEEE 754/IEEE 854). .SH HISTORY -- cgit v1.2.3