diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-01-07 00:49:55 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-01-07 00:49:55 +0000 |
commit | 3fda8ee26e83247e6b6d28b2169381d08adee7aa (patch) | |
tree | 6d3e4663eee6ef7ccb76e1b341b0b52e63cdbb22 /src | |
parent | 49049abee2e5e783f5c57ff877a15dc972c51cb4 (diff) | |
download | mpfr-3fda8ee26e83247e6b6d28b2169381d08adee7aa.tar.gz |
Fixed misspellings, using codespell.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8733 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/div_ui.c | 2 | ||||
-rw-r--r-- | src/eint.c | 2 | ||||
-rw-r--r-- | src/erfc.c | 2 | ||||
-rw-r--r-- | src/strtofr.c | 6 | ||||
-rw-r--r-- | src/sub1sp.c | 2 | ||||
-rw-r--r-- | src/vasprintf.c | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/div_ui.c b/src/div_ui.c index 8fee793fe..187cac087 100644 --- a/src/div_ui.c +++ b/src/div_ui.c @@ -174,7 +174,7 @@ mpfr_div_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode else { /* this happens only if u == 1 and xp[xn-1] >= 1<<(GMP_NUMB_BITS-1). It might be better to handle the - u == 1 case seperately ? + u == 1 case separately? */ MPN_COPY (yp, tmp + 1, yn); diff --git a/src/eint.c b/src/eint.c index 2ccf383ff..a57f07a78 100644 --- a/src/eint.c +++ b/src/eint.c @@ -308,7 +308,7 @@ mpfr_eint (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd) mpfr_set_prec (tmp, prec); mpfr_set_prec (ump, prec); } - MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controler */ + MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controller */ inex = mpfr_set (y, tmp, rnd); /* Set y to the computed value */ mpfr_clear (tmp); diff --git a/src/erfc.c b/src/erfc.c index 0807d7f49..c42ce31d4 100644 --- a/src/erfc.c +++ b/src/erfc.c @@ -266,7 +266,7 @@ mpfr_erfc (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd) MPFR_ZIV_NEXT (loop, prec); /* Increase used precision */ mpfr_set_prec (tmp, prec); } - MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controler */ + MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controller */ inex = mpfr_set (y, tmp, rnd); /* Set y to the computed value */ mpfr_clear (tmp); diff --git a/src/strtofr.c b/src/strtofr.c index 8090ffd20..1b760a004 100644 --- a/src/strtofr.c +++ b/src/strtofr.c @@ -565,7 +565,7 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd) MPFR_ASSERTD (0 < pow2 && pow2 <= 5); /* exp += pow2 * (pstr->exp_base - pstr_size) + pstr->exp_bin with overflow checking - and check that we can add/substract 2 to exp without overflow */ + and check that we can add/subtract 2 to exp without overflow */ MPFR_SADD_OVERFLOW (tmp, pstr->exp_base, -(mpfr_exp_t) pstr_size, mpfr_exp_t, mpfr_uexp_t, MPFR_EXP_MIN, MPFR_EXP_MAX, @@ -625,7 +625,7 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd) /* compute the exponent of y */ /* exp += exp_z + ysize_bits with overflow checking - and check that we can add/substract 2 to exp without overflow */ + and check that we can add/subtract 2 to exp without overflow */ MPFR_SADD_OVERFLOW (exp_z, exp_z, ysize_bits, mpfr_exp_t, mpfr_uexp_t, MPFR_EXP_MIN, MPFR_EXP_MAX, @@ -697,7 +697,7 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd) 2 * ysize, z, ysize); /* exp -= exp_z + ysize_bits with overflow checking - and check that we can add/substract 2 to exp without overflow */ + and check that we can add/subtract 2 to exp without overflow */ MPFR_SADD_OVERFLOW (exp_z, exp_z, ysize_bits, mpfr_exp_t, mpfr_uexp_t, MPFR_EXP_MIN, MPFR_EXP_MAX, diff --git a/src/sub1sp.c b/src/sub1sp.c index 853c3b1f7..84d9d3202 100644 --- a/src/sub1sp.c +++ b/src/sub1sp.c @@ -636,7 +636,7 @@ mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode) mask = ~MPFR_LIMB_MASK (sh); cp[0] &= mask; - /* Substract the mantissa c from b in a */ + /* Subtract the mantissa c from b in a */ ap = MPFR_MANT(a); mpn_sub_n (ap, bp, cp, n); DEBUG( mpfr_print_mant_binary("Sub= ", ap, p) ); diff --git a/src/vasprintf.c b/src/vasprintf.c index 09d804230..7b88b0dc0 100644 --- a/src/vasprintf.c +++ b/src/vasprintf.c @@ -358,7 +358,7 @@ parse_arg_type (const char *format, struct printf_spec *specinfo) /* With a C++ compiler wchar_t and enumeration in va_list are converted to integer type : int, unsigned int, long or unsigned long (unfortunately, - this is implementation dependant). + this is implementation dependent). We follow gmp which assumes in print/doprnt.c that wchar_t is converted to int (because wchar_t <= int). For wint_t, we assume that the case WINT_MAX < INT_MAX yields an |