diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
commit | 1f020b178664857b0e107778d04fb971a58e6230 (patch) | |
tree | c1cd86593b5d354091e0fa3201c5789bec5c53ad /libc/sysdeps/linux/e1/bits/fenvinline.h | |
parent | f1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff) |
- trim any trailing whitespace
Diffstat (limited to 'libc/sysdeps/linux/e1/bits/fenvinline.h')
-rw-r--r-- | libc/sysdeps/linux/e1/bits/fenvinline.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/e1/bits/fenvinline.h b/libc/sysdeps/linux/e1/bits/fenvinline.h index 2723a35f6..a16fc0fb2 100644 --- a/libc/sysdeps/linux/e1/bits/fenvinline.h +++ b/libc/sysdeps/linux/e1/bits/fenvinline.h @@ -1,4 +1,4 @@ -/* +/* Inline floating-point environment handling functions for Hyperstone e1-32X. Copyright (C) 2002-2003, George Thanos <george.thanos@gdt.gr> Yannis Mitsos <yannis.mitsos@gdt.gr> @@ -22,9 +22,9 @@ #if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_MATH_INLINES -/********************************************************** +/********************************************************** * --- A small description of the E1-16/32X FP unit. --- - * FP exceptions can be enabled and disabled through + * FP exceptions can be enabled and disabled through * <feenableexcept>, <fedisableexcept>. * * - When an enabled exception takes place a SIGFPE signal @@ -37,7 +37,7 @@ * a trap. The user can check if any exception took place after * an FP instruction by issuing an <fetestexcept> command. * User should first clear the G2 register by issuing an - * <feclearexcept> function. + * <feclearexcept> function. * The following program is a typical example of how the user * should check for exceptions that did not generate a SIGFPE * signal : @@ -49,7 +49,7 @@ * raised = fetestexcept (FE_OVERFLOW | FE_INVALID); * if (raised & FE_OVERFLOW) { ... } * if (raised & FE_INVALID) { ... } - * ... + * ... * } ***********************************************************/ @@ -102,7 +102,7 @@ static __inline__ feclearexcept(int __excepts) __asm__ __volatile__("mov %0, SR" :"=l"(enabled_excepts) - :/*no input*/ ); + :/*no input*/ ); enabled_excepts &= 0x1F00; disabled_excepts = ~enabled_excepts; @@ -123,9 +123,9 @@ static __inline__ feclearexcept(int __excepts) /* fetestexcepts tests both for actual and accrued * excepts. You can test for an exception either after * an FP instruction or within a SIGFPE handler - */ + */ inline int fetestexcept(int __excepts) -{ +{ unsigned int G2, G2en, G2dis; unsigned int enabled_excepts, disabled_excepts; @@ -135,7 +135,7 @@ inline int fetestexcept(int __excepts) __asm__ __volatile__("mov %0, SR" :"=l"(enabled_excepts) - :/*no input*/ ); + :/*no input*/ ); enabled_excepts &= 0x1F00; disabled_excepts = ~enabled_excepts; @@ -273,7 +273,7 @@ static __inline__ int fegetenv(fenv_t *envp) :"l"( envp->actual_except ) ); \ (0); /* return 0 */ \ }) - + #define feupdateenv(envp) \ ({ \ /* Clear FRM & FTE field of SR */ \ @@ -292,7 +292,7 @@ static __inline__ int fegetenv(fenv_t *envp) :"l"( envp->actual_except ) ); \ (0); /* return 0 */ \ }) - + #endif /* __GNUC__ && !_SOFT_FLOAT */ |