]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
significand.3: significand() uses FLT_RADIX, not 2
authorAlejandro Colomar <alx@kernel.org>
Tue, 5 Mar 2024 00:44:44 +0000 (01:44 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 12 Mar 2024 17:13:51 +0000 (18:13 +0100)
It's implemented using scalb(), which uses FLT_RADIX.

Reported-by: Morten Welinder <mwelinder@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/significand.3

index e991a822a4a9bda7207ce47494bfef418449d4d5..f835f5511e464f4d7e536d89aba4def49e2a6575 100644 (file)
@@ -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