diff options
Diffstat (limited to 'upstream/fedora-rawhide/man3/logb.3')
-rw-r--r-- | upstream/fedora-rawhide/man3/logb.3 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/upstream/fedora-rawhide/man3/logb.3 b/upstream/fedora-rawhide/man3/logb.3 index c74184ea..1319d940 100644 --- a/upstream/fedora-rawhide/man3/logb.3 +++ b/upstream/fedora-rawhide/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-03-12 "Linux man-pages 6.7" .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 |