gas/
[binutils-gdb.git] / libdecnumber / bid / bid-dpd.h
blobd8bf327f3a7bbcbf48d032c510dcf8ed1be3ce50
1 /* Copyright (C) 2007
2 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING. If not, write to the Free
18 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301, USA. */
21 /* As a special exception, if you link this library with other files,
22 some of which are compiled with GCC, to produce an executable,
23 this library does not by itself cause the resulting executable
24 to be covered by the GNU General Public License.
25 This exception does not however invalidate any other reasons why
26 the executable file might be covered by the GNU General Public License. */
28 typedef unsigned int UINT32;
29 typedef unsigned long long UINT64;
30 typedef struct { UINT64 w[2]; } UINT128;
32 #ifndef IN_LIBGCC2
33 #define _Decimal32 UINT32
34 #define _Decimal64 UINT64
35 #define _Decimal128 UINT128
36 #endif
38 void _bid_to_dpd32 (_Decimal32 *, _Decimal32 *);
39 void _dpd_to_bid32 (_Decimal32 *, _Decimal32 *);
40 void _bid_to_dpd64 (_Decimal64 *, _Decimal64 *);
41 void _dpd_to_bid64 (_Decimal64 *, _Decimal64 *);
42 void _bid_to_dpd128 (_Decimal128 *, _Decimal128 *);
43 void _dpd_to_bid128 (_Decimal128 *, _Decimal128 *);