summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/free_cache.c4
-rw-r--r--src/mpfr-gmp.c2
-rw-r--r--src/mpfr-impl.h2
-rw-r--r--src/mpfr.h6
4 files changed, 7 insertions, 7 deletions
diff --git a/src/free_cache.c b/src/free_cache.c
index db0637a0d..50f9afada 100644
--- a/src/free_cache.c
+++ b/src/free_cache.c
@@ -22,7 +22,7 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-impl.h"
-/* Theses caches may be global to all threads or local to the current one. */
+/* These caches may be global to all threads or local to the current one. */
static void
mpfr_free_const_caches (void)
{
@@ -39,7 +39,7 @@ mpfr_free_const_caches (void)
mpfr_clear_cache (__gmpfr_cache_const_catalan);
}
-/* Theses caches/pools are always local to a thread. */
+/* These caches/pools are always local to a thread. */
static void
mpfr_free_local_cache (void)
{
diff --git a/src/mpfr-gmp.c b/src/mpfr-gmp.c
index 49feedc4e..db1e97451 100644
--- a/src/mpfr-gmp.c
+++ b/src/mpfr-gmp.c
@@ -300,7 +300,7 @@ mpfr_assert_fail (const char *filename, int linenum,
abort();
}
-/* Performing a concentration for theses indirect functions may be
+/* Performing a concentration for these indirect functions may be
good for performance since branch prediction for indirect calls
is not well supported by a lot of CPU's (typically they can only
predict a limited number of indirections). */
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index 98e2d2325..f457fd293 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -1247,7 +1247,7 @@ typedef union { mp_size_t s; mp_limb_t l; } mpfr_size_limb_t;
****************** Useful macros *******************
******************************************************/
-/* Theses macros help the compiler to determine if a test is
+/* These macros help the compiler to determine if a test is
likely or unlikely. The !! is necessary in case x is larger
than a long. */
#if defined MPFR_DEBUG_PREDICTION && __MPFR_GNUC(3,0)
diff --git a/src/mpfr.h b/src/mpfr.h
index 58c344065..a579d67d2 100644
--- a/src/mpfr.h
+++ b/src/mpfr.h
@@ -269,7 +269,7 @@ typedef enum {
#endif
/* If the user hasn't requested his/her preference
- and if the intension of support by the compiler is C99
+ and if the intention of support by the compiler is C99
and if the compiler is known to support the C99 feature
then we can auto-detect the C99 support as OK.
__GNUC__ is used to detect GNU-C, ICC & CLANG compilers.
@@ -794,7 +794,7 @@ __MPFR_DECLSPEC int mpfr_custom_get_kind (mpfr_srcptr);
even if it produces faster and smaller code. */
#ifndef MPFR_USE_NO_MACRO
-/* Inlining theses functions is both faster and smaller */
+/* Inlining these functions is both faster and smaller */
#define mpfr_nan_p(_x) ((_x)->_mpfr_exp == __MPFR_EXP_NAN)
#define mpfr_inf_p(_x) ((_x)->_mpfr_exp == __MPFR_EXP_INF)
#define mpfr_zero_p(_x) ((_x)->_mpfr_exp == __MPFR_EXP_ZERO)
@@ -970,7 +970,7 @@ __MPFR_DECLSPEC int mpfr_custom_get_kind (mpfr_srcptr);
#endif /* MPFR_USE_NO_MACRO */
-/* Theses are defined to be macros */
+/* These are defined to be macros */
#define mpfr_init_set_si(x, i, rnd) \
( mpfr_init(x), mpfr_set_si((x), (i), (rnd)) )
#define mpfr_init_set_ui(x, i, rnd) \