bid-dpd.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Copyright (C) 2007-2013 Free Software Foundation, Inc.
  2. This file is part of GCC.
  3. GCC is free software; you can redistribute it and/or modify it under
  4. the terms of the GNU General Public License as published by the Free
  5. Software Foundation; either version 3, or (at your option) any later
  6. version.
  7. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  8. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  10. for more details.
  11. Under Section 7 of GPL version 3, you are granted additional
  12. permissions described in the GCC Runtime Library Exception, version
  13. 3.1, as published by the Free Software Foundation.
  14. You should have received a copy of the GNU General Public License and
  15. a copy of the GCC Runtime Library Exception along with this program;
  16. see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  17. <http://www.gnu.org/licenses/>. */
  18. typedef unsigned int UINT32;
  19. typedef unsigned long long UINT64;
  20. typedef struct { UINT64 w[2]; } UINT128;
  21. #ifndef IN_LIBGCC2
  22. #define _Decimal32 UINT32
  23. #define _Decimal64 UINT64
  24. #define _Decimal128 UINT128
  25. #endif
  26. void _bid_to_dpd32 (_Decimal32 *, _Decimal32 *);
  27. void _dpd_to_bid32 (_Decimal32 *, _Decimal32 *);
  28. void _bid_to_dpd64 (_Decimal64 *, _Decimal64 *);
  29. void _dpd_to_bid64 (_Decimal64 *, _Decimal64 *);
  30. void _bid_to_dpd128 (_Decimal128 *, _Decimal128 *);
  31. void _dpd_to_bid128 (_Decimal128 *, _Decimal128 *);