aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-05 01:44:44 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-12 18:13:51 +0100
commit9029431d54e5d8d0cd27820eca660e3ae6751db2 (patch)
tree6bb977ec9da5edf82aaf868cb39355c8325e385b
parentcf26f5ed31472bd4b960620dc9618eb5089dbef3 (diff)
downloadman-pages-9029431d54e5d8d0cd27820eca660e3ae6751db2.tar.gz
significand.3: significand() uses FLT_RADIX, not 2
It's implemented using scalb(), which uses FLT_RADIX. Reported-by: Morten Welinder <mwelinder@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/significand.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/significand.3 b/man3/significand.3
index e991a822a4..f835f5511e 100644
--- a/man3/significand.3
+++ b/man3/significand.3
@@ -36,7 +36,8 @@ Feature Test Macro Requirements for glibc (see
.SH DESCRIPTION
These functions return the mantissa of
.I x
-scaled to the range [1,2).
+scaled to the range
+.RB [ 1 ,\~ FLT_RADIX ).
They are equivalent to
.P
.in +4n