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/cos.3 | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'man3/cos.3') diff --git a/man3/cos.3 b/man3/cos.3 index 44e3444..9b8e1f4 100644 --- a/man3/cos.3 +++ b/man3/cos.3 @@ -12,7 +12,7 @@ .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu) .\" Modified 2002-07-27 by Walter Harms .\" (walter.harms@informatik.uni-oldenburg.de) -.TH cos 3 2023-07-20 "Linux man-pages 6.05.01" +.TH cos 3 2023-10-31 "Linux man-pages 6.7" .SH NAME cos, cosf, cosl \- cosine function .SH LIBRARY @@ -21,17 +21,17 @@ Math library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "double cos(double " x ); .BI "float cosf(float " x ); .BI "long double cosl(long double " x ); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR cosf (), .BR cosl (): .nf @@ -49,11 +49,11 @@ given in radians. .SH RETURN VALUE On success, these functions return the cosine of .IR x . -.PP +.P If .I x is a NaN, a NaN is returned. -.PP +.P If .I x is positive infinity or negative infinity, @@ -64,7 +64,7 @@ See .BR math_error (7) for information on how to determine whether an error has occurred when calling these functions. -.PP +.P The following errors can occur: .TP Domain error: \fIx\fP is an infinity @@ -91,12 +91,11 @@ T{ .BR cosl () T} Thread safety MT-Safe .TE -.sp 1 .SH STANDARDS C11, POSIX.1-2008. .SH HISTORY C89, POSIX.1-2001. -.PP +.P The variant returning .I double also conforms to -- cgit v1.2.3