decNumberLocal.h (95a9457fd44ad97c518858a4e1586a5498f9773c) decNumberLocal.h (21d7826fdbf13bc3180f8f23f3f87967604fdf7e)
1/* Local definitions for the decNumber C Library.
2 Copyright (C) 2007 Free Software Foundation, Inc.
3 Contributed by IBM Corporation. Author Mike Cowlishaw.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free

--- 84 unchanged lines hidden (view full) ---

93 #if DECNOINT
94 /* if these interfere with your C includes, do not set DECNOINT */
95 #define int ? /* enable to ensure that plain C 'int' */
96 #define long ?? /* .. or 'long' types are not used */
97 #endif
98
99 /* Shared lookup tables */
100 extern const uByte DECSTICKYTAB[10]; /* re-round digits if sticky */
1/* Local definitions for the decNumber C Library.
2 Copyright (C) 2007 Free Software Foundation, Inc.
3 Contributed by IBM Corporation. Author Mike Cowlishaw.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free

--- 84 unchanged lines hidden (view full) ---

93 #if DECNOINT
94 /* if these interfere with your C includes, do not set DECNOINT */
95 #define int ? /* enable to ensure that plain C 'int' */
96 #define long ?? /* .. or 'long' types are not used */
97 #endif
98
99 /* Shared lookup tables */
100 extern const uByte DECSTICKYTAB[10]; /* re-round digits if sticky */
101 extern const uLong DECPOWERS[19]; /* powers of ten table */
101 extern const uLong DECPOWERS[20]; /* powers of ten table */
102 /* The following are included from decDPD.h */
103 extern const uShort DPD2BIN[1024]; /* DPD -> 0-999 */
104 extern const uShort BIN2DPD[1000]; /* 0-999 -> DPD */
105 extern const uInt DPD2BINK[1024]; /* DPD -> 0-999000 */
106 extern const uInt DPD2BINM[1024]; /* DPD -> 0-999000000 */
107 extern const uByte DPD2BCD8[4096]; /* DPD -> ddd + len */
108 extern const uByte BIN2BCD8[4000]; /* 0-999 -> ddd + len */
109 extern const uShort BCD2DPD[2458]; /* 0-0x999 -> DPD (0x999=2457)*/

--- 554 unchanged lines hidden ---
102 /* The following are included from decDPD.h */
103 extern const uShort DPD2BIN[1024]; /* DPD -> 0-999 */
104 extern const uShort BIN2DPD[1000]; /* 0-999 -> DPD */
105 extern const uInt DPD2BINK[1024]; /* DPD -> 0-999000 */
106 extern const uInt DPD2BINM[1024]; /* DPD -> 0-999000000 */
107 extern const uByte DPD2BCD8[4096]; /* DPD -> ddd + len */
108 extern const uByte BIN2BCD8[4000]; /* 0-999 -> ddd + len */
109 extern const uShort BCD2DPD[2458]; /* 0-0x999 -> DPD (0x999=2457)*/

--- 554 unchanged lines hidden ---