HPGCC3 Documentation 3.0 R003

decPacked.h File Reference

#include "decNumber.h"

Go to the source code of this file.

Defines

#define DECPNAME   "decPacked"
#define DECPFULLNAME   "Packed Decimal conversions"
#define DECPAUTHOR   "Mike Cowlishaw"
#define DECPACKED_DefP   32
#define DECNUMDIGITS   DECPACKED_DefP
#define DECPPLUSALT   0x0A
#define DECPMINUSALT   0x0B
#define DECPPLUS   0x0C
#define DECPMINUS   0x0D
#define DECPPLUSALT2   0x0E
#define DECPUNSIGNED   0x0F

Functions

uint8_tdecPackedFromNumber (uint8_t *, int32_t, int32_t *, const decNumber *)
decNumberdecPackedToNumber (const uint8_t *, int32_t, const int32_t *, decNumber *)

Define Documentation

#define DECNUMDIGITS   DECPACKED_DefP

Definition at line 29 of file decPacked.h.

#define DECPACKED_DefP   32

Definition at line 26 of file decPacked.h.

#define DECPAUTHOR   "Mike Cowlishaw"

Definition at line 24 of file decPacked.h.

#define DECPFULLNAME   "Packed Decimal conversions"

Definition at line 23 of file decPacked.h.

#define DECPMINUS   0x0D

Definition at line 38 of file decPacked.h.

#define DECPMINUSALT   0x0B

Definition at line 36 of file decPacked.h.

#define DECPNAME   "decPacked"

Definition at line 22 of file decPacked.h.

#define DECPPLUS   0x0C

Definition at line 37 of file decPacked.h.

#define DECPPLUSALT   0x0A

Definition at line 35 of file decPacked.h.

#define DECPPLUSALT2   0x0E

Definition at line 39 of file decPacked.h.

#define DECPUNSIGNED   0x0F

Definition at line 40 of file decPacked.h.


Function Documentation

uint8_t* decPackedFromNumber ( uint8_t ,
int32_t  ,
int32_t ,
const decNumber  
)
decNumber* decPackedToNumber ( const uint8_t ,
int32_t  ,
const int32_t ,
decNumber  
)