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/trunc.3 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'man3/trunc.3') diff --git a/man3/trunc.3 b/man3/trunc.3 index 4670f03..1c90c81 100644 --- a/man3/trunc.3 +++ b/man3/trunc.3 @@ -3,7 +3,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH trunc 3 2023-07-20 "Linux man-pages 6.05.01" +.TH trunc 3 2023-10-31 "Linux man-pages 6.7" .SH NAME trunc, truncf, truncl \- round to integer, toward zero .SH LIBRARY @@ -12,17 +12,17 @@ Math library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "double trunc(double " x ); .BI "float truncf(float " x ); .BI "long double truncl(long double " x ); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR trunc (), .BR truncf (), .BR truncl (): @@ -36,7 +36,7 @@ to the nearest integer value that is not larger in magnitude than .IR x . .SH RETURN VALUE These functions return the rounded integer value, in floating format. -.PP +.P If .I x is integral, infinite, or NaN, @@ -60,7 +60,6 @@ T{ .BR truncl () T} Thread safety MT-Safe .TE -.sp 1 .SH STANDARDS C11, POSIX.1-2008. .SH HISTORY -- cgit v1.2.3