Mercurial > hg > CbC > CbC_gcc
comparison libdecnumber/decPacked.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
29 | 29 |
30 #if !defined(DECPACKED) | 30 #if !defined(DECPACKED) |
31 #define DECPACKED | 31 #define DECPACKED |
32 #define DECPNAME "decPacked" /* Short name */ | 32 #define DECPNAME "decPacked" /* Short name */ |
33 #define DECPFULLNAME "Packed Decimal conversions" /* Verbose name */ | 33 #define DECPFULLNAME "Packed Decimal conversions" /* Verbose name */ |
34 #define DECPAUTHOR "Mike Cowlishaw" /* Who to blame */ | 34 #define DECPAUTHOR "Mike Cowlishaw" /* Who to blame */ |
35 | 35 |
36 #define DECPACKED_DefP 32 /* default precision */ | 36 #define DECPACKED_DefP 32 /* default precision */ |
37 | 37 |
38 #ifndef DECNUMDIGITS | 38 #ifndef DECNUMDIGITS |
39 #define DECNUMDIGITS DECPACKED_DefP /* size if not already defined*/ | 39 #define DECNUMDIGITS DECPACKED_DefP /* size if not already defined*/ |
40 #endif | 40 #endif |
41 #include "decNumber.h" /* context and number library */ | 41 #include "decNumber.h" /* context and number library */ |
42 | 42 |
43 /* Sign nibble constants */ | 43 /* Sign nibble constants */ |
44 #if !defined(DECPPLUSALT) | 44 #if !defined(DECPPLUSALT) |
45 #define DECPPLUSALT 0x0A /* alternate plus nibble */ | 45 #define DECPPLUSALT 0x0A /* alternate plus nibble */ |
46 #define DECPMINUSALT 0x0B /* alternate minus nibble */ | 46 #define DECPMINUSALT 0x0B /* alternate minus nibble */ |
47 #define DECPPLUS 0x0C /* preferred plus nibble */ | 47 #define DECPPLUS 0x0C /* preferred plus nibble */ |
48 #define DECPMINUS 0x0D /* preferred minus nibble */ | 48 #define DECPMINUS 0x0D /* preferred minus nibble */ |
49 #define DECPPLUSALT2 0x0E /* alternate plus nibble */ | 49 #define DECPPLUSALT2 0x0E /* alternate plus nibble */ |
50 #define DECPUNSIGNED 0x0F /* alternate plus nibble (unsigned) */ | 50 #define DECPUNSIGNED 0x0F /* alternate plus nibble (unsigned) */ |
51 #endif | 51 #endif |
52 | 52 |
53 /* ---------------------------------------------------------------- */ | 53 /* ---------------------------------------------------------------- */ |
54 /* decPacked public routines */ | 54 /* decPacked public routines */ |
55 /* ---------------------------------------------------------------- */ | 55 /* ---------------------------------------------------------------- */ |