diff options
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) |