diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-27 17:10:09 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-27 17:10:09 +0000 |
commit | cc3a47abb42f11b78ad97db92e7a89b9447bb8e9 (patch) | |
tree | fe9b394da058363f4a89f71cc700d1ff82eaa856 /lib/libm/arch/i387/fenv.c | |
parent | 3ee00b1421bdff3725c44ae16607a768ffaadb02 (diff) |
spelling fixes; from paul tagliamonte
any changes not taken noted on tech, but chiefly here i did not take the
cancelation - cancellation changes;
Diffstat (limited to 'lib/libm/arch/i387/fenv.c')
-rw-r--r-- | lib/libm/arch/i387/fenv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libm/arch/i387/fenv.c b/lib/libm/arch/i387/fenv.c index 58922fde92e..cfb98696892 100644 --- a/lib/libm/arch/i387/fenv.c +++ b/lib/libm/arch/i387/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.6 2021/09/17 15:11:57 deraadt Exp $ */ +/* $OpenBSD: fenv.c,v 1.7 2022/12/27 17:10:07 jmc Exp $ */ /* $NetBSD: fenv.c,v 1.3 2010/08/01 06:34:38 taca Exp $ */ /*- @@ -106,7 +106,7 @@ feclearexcept(int excepts) /* Clear the requested floating-point exceptions */ fenv.__x87.__status &= ~excepts; - /* Load the x87 floating-point environent */ + /* Load the x87 floating-point environment */ __asm__ volatile ("fldenv %0" : : "m" (fenv)); /* Same for SSE environment */ @@ -188,7 +188,7 @@ fesetexceptflag(const fexcept_t *flagp, int excepts) fenv.__x87.__status &= ~excepts; fenv.__x87.__status |= *flagp & excepts; - /* Load the x87 floating-point environent */ + /* Load the x87 floating-point environment */ __asm__ volatile ("fldenv %0" : : "m" (fenv)); /* Same for SSE environment */ @@ -359,7 +359,7 @@ DEF_STD(feholdexcept); int fesetenv(const fenv_t *envp) { - /* Load the x87 floating-point environent */ + /* Load the x87 floating-point environment */ __asm__ volatile ("fldenv %0" : : "m" (*envp)); /* Store the MXCSR register */ @@ -402,7 +402,7 @@ feupdateenv(const fenv_t *envp) DEF_STD(feupdateenv); /* - * The following functions are extentions to the standard + * The following functions are extensions to the standard */ int feenableexcept(int mask) |