diff options
Diffstat (limited to 'gl/float+.h')
| -rw-r--r-- | gl/float+.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gl/float+.h b/gl/float+.h index b55e5e6d..32fb790b 100644 --- a/gl/float+.h +++ b/gl/float+.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Supplemental information about the floating-point formats. | 1 | /* Supplemental information about the floating-point formats. |
| 2 | Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. | 2 | Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. |
| 3 | Written by Bruno Haible <bruno@clisp.org>, 2007. | 3 | Written by Bruno Haible <bruno@clisp.org>, 2007. |
| 4 | 4 | ||
| 5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
| @@ -13,8 +13,7 @@ | |||
| 13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
| 14 | 14 | ||
| 15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software Foundation, | 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. */ |
| 17 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ | ||
| 18 | 17 | ||
| 19 | #ifndef _FLOATPLUS_H | 18 | #ifndef _FLOATPLUS_H |
| 20 | #define _FLOATPLUS_H | 19 | #define _FLOATPLUS_H |
| @@ -141,8 +140,8 @@ | |||
| 141 | #define SIZEOF_LDBL ((LDBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) | 140 | #define SIZEOF_LDBL ((LDBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) |
| 142 | 141 | ||
| 143 | /* Verify that SIZEOF_FLT <= sizeof (float) etc. */ | 142 | /* Verify that SIZEOF_FLT <= sizeof (float) etc. */ |
| 144 | typedef int verify_sizeof_flt[2 * (SIZEOF_FLT <= sizeof (float)) - 1]; | 143 | typedef int verify_sizeof_flt[SIZEOF_FLT <= sizeof (float) ? 1 : -1]; |
| 145 | typedef int verify_sizeof_dbl[2 * (SIZEOF_DBL <= sizeof (double)) - 1]; | 144 | typedef int verify_sizeof_dbl[SIZEOF_DBL <= sizeof (double) ? 1 : - 1]; |
| 146 | typedef int verify_sizeof_ldbl[2 * (SIZEOF_LDBL <= sizeof (long double)) - 1]; | 145 | typedef int verify_sizeof_ldbl[SIZEOF_LDBL <= sizeof (long double) ? 1 : - 1]; |
| 147 | 146 | ||
| 148 | #endif /* _FLOATPLUS_H */ | 147 | #endif /* _FLOATPLUS_H */ |
