summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/logb.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/logb.3 b/man3/logb.3
index 7a1ad2f4a..6d1cb5be8 100644
--- a/man3/logb.3
+++ b/man3/logb.3
@@ -57,9 +57,10 @@ If
.B FLT_RADIX
is 2,
.BI logb( x )
-is equal to
+is similar to
.BI floor(log2(fabs( x )))\f[R],\f[]
-except that it is probably faster.
+except that the latter may give an incorrect integer
+due to intermediate rounding.
.P
If
.I x