aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/bits/mathcalls.h2
-rw-r--r--math/fenv.h2
-rw-r--r--math/libm-test-support.c2
-rw-r--r--math/math.h2
-rw-r--r--math/test-fenv.c2
-rw-r--r--math/tgmath.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index f27ffdd..a0388c9 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -271,7 +271,7 @@ __MATHCALL (nextdown,, (_Mdouble_ __x));
__MATHCALL (nextup,, (_Mdouble_ __x));
# endif
-/* Return the remainder of integer divison X / Y with infinite precision. */
+/* Return the remainder of integer division X / Y with infinite precision. */
__MATHCALL (remainder,, (_Mdouble_ __x, _Mdouble_ __y));
# ifdef __USE_ISOC99
diff --git a/math/fenv.h b/math/fenv.h
index 6bb6e2d..2279244 100644
--- a/math/fenv.h
+++ b/math/fenv.h
@@ -25,7 +25,7 @@
#define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION
#include <bits/libc-header-start.h>
-/* Get the architecture dependend definitions. The following definitions
+/* Get the architecture dependent definitions. The following definitions
are expected to be done:
fenv_t type for object representing an entire floating-point
diff --git a/math/libm-test-support.c b/math/libm-test-support.c
index a827e95..8fe3082 100644
--- a/math/libm-test-support.c
+++ b/math/libm-test-support.c
@@ -83,7 +83,7 @@
functions.
Inline functions: Inlining functions should give an improvement in
- speed - but not in precission. The inlined functions return
+ speed - but not in precision. The inlined functions return
reasonable values for a reasonable range of input values. The
result is not necessarily correct for all values and exceptions are
not correctly raised in all cases. Problematic input and return
diff --git a/math/math.h b/math/math.h
index 6dc0604..6427c72 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1301,7 +1301,7 @@ iszero (__T __val)
these operations. Generic support in GCC for these as builtins went
in 2.97, but not all cpus added their patterns until 3.1. Therefore
we enable the builtins from 3.1 onwards and use a generic implementation
- othwerwise. */
+ otherwise. */
# define isgreater(x, y) __builtin_isgreater(x, y)
# define isgreaterequal(x, y) __builtin_isgreaterequal(x, y)
# define isless(x, y) __builtin_isless(x, y)
diff --git a/math/test-fenv.c b/math/test-fenv.c
index 5b5f461..0af7141 100644
--- a/math/test-fenv.c
+++ b/math/test-fenv.c
@@ -761,7 +761,7 @@ initial_tests (void)
test_exceptions ("Initially all exceptions should be cleared",
NO_EXC, 0);
#ifdef FE_TONEAREST
- test_rounding ("Rounding direction should be initalized to nearest",
+ test_rounding ("Rounding direction should be initialized to nearest",
FE_TONEAREST);
#endif
}
diff --git a/math/tgmath.h b/math/tgmath.h
index 0bcfb7c..ca90c5b 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -961,7 +961,7 @@
#define nexttoward(Val1, Val2) \
__TGMATH_BINARY_FIRST_REAL_STD_ONLY (Val1, Val2, nexttoward)
-/* Return the remainder of integer divison X / Y with infinite precision. */
+/* Return the remainder of integer division X / Y with infinite precision. */
#define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder)
/* Return X times (2 to the Nth power). */