Link: <https://inbox.sourceware.org/libc-alpha/
20240305150131.GD3653@qaa.vinc17.org/T/#m3ceecda630012995339bcc5448fee451cf277a8b>
Reported-by: Vincent Lefevre <vincent@vinc17.net>
Suggested-by: Vincent Lefevre <vincent@vinc17.net>
Cc: Morten Welinder <mwelinder@gmail.com>
Cc: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
.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