mbox series

[v3,0/4] manual: arith.texi and math.texi fixes

Message ID 20240331203829.23591-1-alx@kernel.org
Headers show
Series manual: arith.texi and math.texi fixes | expand

Message

Alejandro Colomar March 31, 2024, 8:38 p.m. UTC
Hi!

This addresses DJ's request for a better subject for patch 3.
I've also added a 4th patch, with another related fix.

Have a lovely night!
Alex


Alejandro Colomar (4):
  manual: logb(x) is floor(log2(fabs(x)))
  manual: floor(log2(fabs(x))) has rounding errors
  manual: Clarify return value of cbrt(3)
  manual: significand() uses FLT_RADIX, not 2

 manual/arith.texi |  2 +-
 manual/math.texi  | 15 +++++++++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

Range-diff against v2:
1:  952e798140 ! 1:  7af080cd63 manual: logb(x) is floor(log2(fabs(x)))
    @@ Commit message
     
         Link: <https://lore.kernel.org/linux-man/ZeYKUOKYS7G90SaV@debian/T/#u>
         Reported-by: Morten Welinder <mwelinder@gmail.com>
    +    Reviewed-by: DJ Delorie <dj@redhat.com>
         Cc: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
         Cc: Vincent Lefevre <vincent@vinc17.net>
    +    Cc: Paul Zimmermann <Paul.Zimmermann@inria.fr>
    +    Cc: Andreas Schwab <schwab@linux-m68k.org>
         Signed-off-by: Alejandro Colomar <alx@kernel.org>
     
      ## manual/math.texi ##
2:  126b03d160 ! 2:  3854c0ecf8 manual: floor(log2(fabs(x))) has rounding errors
    @@ Commit message
         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>
    +    Reviewed-by: DJ Delorie <dj@redhat.com>
         Cc: Morten Welinder <mwelinder@gmail.com>
         Cc: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
    +    Cc: Paul Zimmermann <Paul.Zimmermann@inria.fr>
    +    Cc: Andreas Schwab <schwab@linux-m68k.org>
         Signed-off-by: Alejandro Colomar <alx@kernel.org>
     
      ## manual/math.texi ##
3:  e93ae6c4b4 ! 3:  78bc5bd97b manual: Cube roots are rarely representable
    @@ Metadata
     Author: Alejandro Colomar <alx@kernel.org>
     
      ## Commit message ##
    -    manual: Cube roots are rarely representable
    +    manual: Clarify return value of cbrt(3)
     
         Link: <https://lore.kernel.org/linux-man/ZeYKUOKYS7G90SaV@debian/T/#mff0ab388000c6afdb5e5162804d4a0073de481de>
         Reported-by: Morten Welinder <mwelinder@gmail.com>
         Cowritten-by: Morten Welinder <mwelinder@gmail.com>
         Cc: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
         Cc: Vincent Lefevre <vincent@vinc17.net>
    +    Cc: DJ Delorie <dj@redhat.com>
    +    Cc: Paul Zimmermann <Paul.Zimmermann@inria.fr>
    +    Cc: Andreas Schwab <schwab@linux-m68k.org>
         Signed-off-by: Alejandro Colomar <alx@kernel.org>
     
      ## manual/math.texi ##
-:  ---------- > 4:  f9ac1eefe3 manual: significand() uses FLT_RADIX, not 2