From: Dhruv Chawla <[email protected]>

Signed-off-by: Dhruv Chawla <[email protected]>

libquadmath/ChangeLog:

        * math/powq.c: Fix typos.
        * math/rem_pio2q.c: Likewise.
        * printf/printf_fp.c (__quadmath_printf_fp): Likewise.
        * update-quadmath.py: Likewise
---
 libquadmath/math/powq.c        | 2 +-
 libquadmath/math/rem_pio2q.c   | 2 +-
 libquadmath/printf/printf_fp.c | 4 ++--
 libquadmath/update-quadmath.py | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libquadmath/math/powq.c b/libquadmath/math/powq.c
index b8250207431..c25bd1ed545 100644
--- 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)
  *
diff --git a/libquadmath/math/rem_pio2q.c b/libquadmath/math/rem_pio2q.c
index 3308b218473..5835b8d3349 100644
--- a/libquadmath/math/rem_pio2q.c
+++ b/libquadmath/math/rem_pio2q.c
@@ -45,7 +45,7 @@
  *                     z    = (z-x[i])*2**24
  *
  *
- *     y[]     ouput result in an array of double precision numbers.
+ *     y[]     output result in an array of double precision numbers.
  *             The dimension of y[] is:
  *                     24-bit  precision       1
  *                     53-bit  precision       2
diff --git a/libquadmath/printf/printf_fp.c b/libquadmath/printf/printf_fp.c
index 9968aa5307c..6483f090dfd 100644
--- a/libquadmath/printf/printf_fp.c
+++ b/libquadmath/printf/printf_fp.c
@@ -150,7 +150,7 @@ __quadmath_printf_fp (struct __quadmath_printf_file *fp,
   /* We need to shift the contents of fp_input by this amount of bits. */
   int to_shift = 0;
 
-  /* The fraction of the floting-point value in question  */
+  /* The fraction of the floating-point value in question  */
   MPN_VAR(frac);
   /* and the exponent. */
   int exponent;
@@ -1195,7 +1195,7 @@ __quadmath_printf_fp (struct __quadmath_printf_file *fp,
 
          /* Now copy the wide character string.  Since the character
             (except for the decimal point and thousands separator) must
-            be coming from the ASCII range we can esily convert the
+            be coming from the ASCII range we can easily convert the
             string without mapping tables.  */
          for (cp = buffer, copywc = wstartp; copywc < wcp; ++copywc)
            if (*copywc == decimalwc)
diff --git a/libquadmath/update-quadmath.py b/libquadmath/update-quadmath.py
index d40b2724dd3..27317ef92c1 100755
--- a/libquadmath/update-quadmath.py
+++ b/libquadmath/update-quadmath.py
@@ -90,7 +90,7 @@ def update_sources(glibc_srcdir, quadmath_srcdir):
                   'GET_LDOUBLE_WORDS64', 'SET_LDOUBLE_LSW64',
                   'SET_LDOUBLE_MSW64', 'SET_LDOUBLE_WORDS64'):
         repl_names[macro] = macro.replace('LDOUBLE', 'FLT128')
-    # The classication macros are replaced.
+    # The classification macros are replaced.
     for macro in ('FP_NAN', 'FP_INFINITE', 'FP_ZERO', 'FP_SUBNORMAL',
                   'FP_NORMAL'):
         repl_names[macro] = 'QUAD' + macro
-- 
2.43.0

Reply via email to