diff mbox series

libquadmath: Typo in powq summary

Message ID CAEkZ-t=t_PGM6j3ZkM4qnW-9U16XH6w0E=WBE__z0s+aZDTo8A@mail.gmail.com
State New
Headers show
Series libquadmath: Typo in powq summary | expand

Commit Message

Ivan Agarsky Oct. 14, 2024, 1:39 a.m. UTC
Hello,

since step 9 in "Basics: Contributing to GCC in 10 easy steps" says I
should not commit the first few patches, I kindly ask someone to commit
the following for me:

libquadmath\ChangeLog:

        * math/powq.c:


--


Kind regards,
Ivan

Comments

Joseph Myers Oct. 14, 2024, 5:38 p.m. UTC | #1
On Mon, 14 Oct 2024, Ivan Agarsky wrote:

> Hello,
> 
> since step 9 in "Basics: Contributing to GCC in 10 easy steps" says I
> should not commit the first few patches, I kindly ask someone to commit
> the following for me:
> 
> libquadmath\ChangeLog:
> 
>         * math/powq.c:

This file comes from glibc, see update-quadmath.py, so a typo fix should 
be submitted to glibc as a fix for sysdeps/ieee754/ldbl-128/e_powl.c and 
then the sources in libquadmath updated from there.
diff mbox series

Patch

--- a/libquadmath/math/powq.c
+++ b/libquadmath/math/powq.c
@@ -37,7 +37,7 @@ 
  *     1. Compute and return log2(x) in two pieces:
  *             log2(x) = w1 + w2,
  *        where w1 has 113-53 = 60 bit trailing zeros.
- *     2. Perform y*log2(x) = n+y' by simulating muti-precision
+ *     2. Perform y*log2(x) = n+y' by simulating multi-precision
  *        arithmetic, where |y'|<=0.5.
  *     3. Return x**y = 2**n*exp(y'*log2)
  *