summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man3/logb.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
commit2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch)
tree65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/archlinux/man3/logb.3
parentReleasing progress-linux version 4.22.0-1~progress7.99u1. (diff)
downloadmanpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz
manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/archlinux/man3/logb.3')
-rw-r--r--upstream/archlinux/man3/logb.39
1 files changed, 5 insertions, 4 deletions
diff --git a/upstream/archlinux/man3/logb.3 b/upstream/archlinux/man3/logb.3
index c74184ea..965561c2 100644
--- a/upstream/archlinux/man3/logb.3
+++ b/upstream/archlinux/man3/logb.3
@@ -7,7 +7,7 @@
.\"
.\" Inspired by a page by Walter Harms created 2002-08-10
.\"
-.TH logb 3 2023-10-31 "Linux man-pages 6.06"
+.TH logb 3 2024-05-02 "Linux man-pages 6.8"
.SH NAME
logb, logbf, logbl \- get exponent of a floating-point value
.SH LIBRARY
@@ -57,9 +57,10 @@ If
.B FLT_RADIX
is 2,
.BI logb( x )
-is equal to
-.BI floor(log2( x ))\fR,
-except that it is probably faster.
+is similar to
+.BI floor(log2(fabs( x )))\f[R],\f[]
+except that the latter may give an incorrect integer
+due to intermediate rounding.
.P
If
.I x