aboutsummaryrefslogtreecommitdiff
path: root/soft-fp/extended.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-03-20 12:10:36 +0000
committerJakub Jelinek <jakub@redhat.com>2007-03-20 12:10:36 +0000
commit06029c208409b50035095c86d4d73df5f9628176 (patch)
treea2ce20a73466065c7b9033cd33354c7d4d2e00dc /soft-fp/extended.h
parentaddc8335762203938fa24fc2c91b247cb9172674 (diff)
downloadglibc-06029c208409b50035095c86d4d73df5f9628176.zip
glibc-06029c208409b50035095c86d4d73df5f9628176.tar.gz
glibc-06029c208409b50035095c86d4d73df5f9628176.tar.bz2
[BZ #2831]
* soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac bit-fields. * soft-fp/extended.h (_FP_UNION_E): Likewise. [BZ #2831] * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac bit-fields. 2007-03-20 Jakub Jelinek <jakub@redhat.com> * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac bit-fields. * soft-fp/extended.h (_FP_UNION_E): Likewise. 2006-06-07 Joseph Myers <joseph@codesourcery.com> [BZ #2831] * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac bit-fields.
Diffstat (limited to 'soft-fp/extended.h')
-rw-r--r--soft-fp/extended.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/soft-fp/extended.h b/soft-fp/extended.h
index bbf3942..0e2a90c 100644
--- a/soft-fp/extended.h
+++ b/soft-fp/extended.h
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Definitions for IEEE Extended Precision.
- Copyright (C) 1999,2006 Free Software Foundation, Inc.
+ Copyright (C) 1999,2006,2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek (jj@ultra.linux.cz).
@@ -277,14 +277,14 @@ union _FP_UNION_E
XFtype flt;
struct {
#if __BYTE_ORDER == __BIG_ENDIAN
- unsigned long pad : (_FP_W_TYPE_SIZE - 1 - _FP_EXPBITS_E);
- unsigned sign : 1;
- unsigned exp : _FP_EXPBITS_E;
- unsigned long frac : _FP_W_TYPE_SIZE;
+ _FP_W_TYPE pad : (_FP_W_TYPE_SIZE - 1 - _FP_EXPBITS_E);
+ unsigned sign : 1;
+ unsigned exp : _FP_EXPBITS_E;
+ _FP_W_TYPE frac : _FP_W_TYPE_SIZE;
#else
- unsigned long frac : _FP_W_TYPE_SIZE;
- unsigned exp : _FP_EXPBITS_E;
- unsigned sign : 1;
+ _FP_W_TYPE frac : _FP_W_TYPE_SIZE;
+ unsigned exp : _FP_EXPBITS_E;
+ unsigned sign : 1;
#endif
} bits;
};