OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [libdecnumber/] [bid/] [bid-dpd.h] - Blame information for rev 294

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* Copyright (C) 2007
2
   Free Software Foundation, Inc.
3
 
4
This file is part of GCC.
5
 
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.
10
 
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.
15
 
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.  */
20
 
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.  */
27
 
28
typedef unsigned int UINT32;
29
typedef unsigned long long UINT64;
30
typedef struct { UINT64 w[2]; } UINT128;
31
 
32
#ifndef IN_LIBGCC2
33
#define _Decimal32 UINT32
34
#define _Decimal64 UINT64
35
#define _Decimal128 UINT128
36
#endif
37
 
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 *);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.