summaryrefslogtreecommitdiffstats
path: root/man3/sincos.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/sincos.3')
-rw-r--r--man3/sincos.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/sincos.3 b/man3/sincos.3
index 79b920d..1093c3b 100644
--- a/man3/sincos.3
+++ b/man3/sincos.3
@@ -5,7 +5,7 @@
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
-.TH sincos 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH sincos 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
sincos, sincosf, sincosl \- calculate sin and cos simultaneously
.SH LIBRARY
@@ -15,7 +15,7 @@ Math library
.nf
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <math.h>
-.PP
+.P
.BI "void sincos(double " x ", double *" sin ", double *" cos );
.BI "void sincosf(float " x ", float *" sin ", float *" cos );
.BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
@@ -31,7 +31,7 @@ Using this function can be more efficient than two separate calls to
.BR sin (3)
and
.BR cos (3).
-.PP
+.P
If
.I x
is a NaN,
@@ -39,7 +39,7 @@ a NaN is returned in
.I *sin
and
.IR *cos .
-.PP
+.P
If
.I x
is positive infinity or negative infinity,
@@ -56,7 +56,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
@@ -83,7 +83,6 @@ T{
.BR sincosl ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
GNU.
.SH HISTORY
@@ -94,7 +93,7 @@ To see the performance advantage of
it may be necessary to disable
.BR gcc (1)
built-in optimizations, using flags such as:
-.PP
+.P
.in +4n
.EX
cc \-O \-lm \-fno\-builtin prog.c