HPGCC3 Documentation 3.0 R003

decQuad.h File Reference

#include "decContext.h"

Go to the source code of this file.

Data Structures

struct  decQuad

Defines

#define DECQUADNAME   "decimalQuad"
#define DECQUADTITLE   "Decimal 128-bit datum"
#define DECQUADAUTHOR   "Mike Cowlishaw"
#define DECQUAD_Bytes   16
#define DECQUAD_Pmax   34
#define DECQUAD_Emin   -6143
#define DECQUAD_Emax   6144
#define DECQUAD_EmaxD   4
#define DECQUAD_Bias   6176
#define DECQUAD_String   43
#define DECQUAD_EconL   12
#define DECQUAD_Declets   11
#define DECQUAD_Ehigh   (DECQUAD_Emax + DECQUAD_Bias - (DECQUAD_Pmax-1))
#define DECFLOAT_Sign   0x80000000
#define DECFLOAT_NaN   0x7c000000
#define DECFLOAT_qNaN   0x7c000000
#define DECFLOAT_sNaN   0x7e000000
#define DECFLOAT_Inf   0x78000000
#define DECFLOAT_MinSp   0x78000000
#define DECPPLUSALT   0x0A
#define DECPMINUSALT   0x0B
#define DECPPLUS   0x0C
#define DECPMINUS   0x0D
#define DECPPLUSALT2   0x0E
#define DECPUNSIGNED   0x0F
#define decQuadToNumber(dq, dn)   decimal128ToNumber((decimal128 *)(dq), dn)
#define decQuadFromNumber(dq, dn, set)   (decQuad *)decimal128FromNumber((decimal128 *)(dq), dn, set)

Functions

decQuaddecQuadFromBCD (decQuad *, int32_t, const uint8_t *, int32_t)
decQuaddecQuadFromInt32 (decQuad *, int32_t)
decQuaddecQuadFromPacked (decQuad *, int32_t, const uint8_t *)
decQuaddecQuadFromString (decQuad *, const char *, decContext *)
decQuaddecQuadFromUInt32 (decQuad *, uint32_t)
int32_t decQuadGetCoefficient (const decQuad *, uint8_t *)
int32_t decQuadGetExponent (const decQuad *)
decQuaddecQuadSetCoefficient (decQuad *, const uint8_t *, int32_t)
decQuaddecQuadSetExponent (decQuad *, decContext *, int32_t)
void decQuadShow (const decQuad *, const char *)
int32_t decQuadToBCD (const decQuad *, int32_t *, uint8_t *)
char * decQuadToEngString (const decQuad *, char *)
int32_t decQuadToInt32 (const decQuad *, decContext *, enum rounding)
int32_t decQuadToInt32Exact (const decQuad *, decContext *, enum rounding)
int32_t decQuadToPacked (const decQuad *, int32_t *, uint8_t *)
char * decQuadToString (const decQuad *, char *)
uint32_t decQuadToUInt32 (const decQuad *, decContext *, enum rounding)
uint32_t decQuadToUInt32Exact (const decQuad *, decContext *, enum rounding)
decQuaddecQuadZero (decQuad *)
decQuaddecQuadAbs (decQuad *, const decQuad *, decContext *)
decQuaddecQuadAdd (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadAnd (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadDivide (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadDivideInteger (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadFMA (decQuad *, const decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadInvert (decQuad *, const decQuad *, decContext *)
decQuaddecQuadLogB (decQuad *, const decQuad *, decContext *)
decQuaddecQuadMax (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadMaxMag (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadMin (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadMinMag (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadMinus (decQuad *, const decQuad *, decContext *)
decQuaddecQuadMultiply (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadNextMinus (decQuad *, const decQuad *, decContext *)
decQuaddecQuadNextPlus (decQuad *, const decQuad *, decContext *)
decQuaddecQuadNextToward (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadOr (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadPlus (decQuad *, const decQuad *, decContext *)
decQuaddecQuadQuantize (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadReduce (decQuad *, const decQuad *, decContext *)
decQuaddecQuadRemainder (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadRemainderNear (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadRotate (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadScaleB (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadShift (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadSubtract (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadToIntegralValue (decQuad *, const decQuad *, decContext *, enum rounding)
decQuaddecQuadToIntegralExact (decQuad *, const decQuad *, decContext *)
decQuaddecQuadXor (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadCompare (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadCompareSignal (decQuad *, const decQuad *, const decQuad *, decContext *)
decQuaddecQuadCompareTotal (decQuad *, const decQuad *, const decQuad *)
decQuaddecQuadCompareTotalMag (decQuad *, const decQuad *, const decQuad *)
decQuaddecQuadCanonical (decQuad *, const decQuad *)
decQuaddecQuadCopy (decQuad *, const decQuad *)
decQuaddecQuadCopyAbs (decQuad *, const decQuad *)
decQuaddecQuadCopyNegate (decQuad *, const decQuad *)
decQuaddecQuadCopySign (decQuad *, const decQuad *, const decQuad *)
enum decClass decQuadClass (const decQuad *)
const char * decQuadClassString (const decQuad *)
uint32_t decQuadDigits (const decQuad *)
uint32_t decQuadIsCanonical (const decQuad *)
uint32_t decQuadIsFinite (const decQuad *)
uint32_t decQuadIsInteger (const decQuad *)
uint32_t decQuadIsInfinite (const decQuad *)
uint32_t decQuadIsNaN (const decQuad *)
uint32_t decQuadIsNormal (const decQuad *)
uint32_t decQuadIsSignaling (const decQuad *)
uint32_t decQuadIsSignalling (const decQuad *)
uint32_t decQuadIsSigned (const decQuad *)
uint32_t decQuadIsSubnormal (const decQuad *)
uint32_t decQuadIsZero (const decQuad *)
uint32_t decQuadRadix (const decQuad *)
uint32_t decQuadSameQuantum (const decQuad *, const decQuad *)
const char * decQuadVersion (void)

Define Documentation

#define DECFLOAT_Inf   0x78000000

Definition at line 56 of file decQuad.h.

#define DECFLOAT_MinSp   0x78000000

Definition at line 57 of file decQuad.h.

#define DECFLOAT_NaN   0x7c000000

Definition at line 53 of file decQuad.h.

#define DECFLOAT_qNaN   0x7c000000

Definition at line 54 of file decQuad.h.

#define DECFLOAT_Sign   0x80000000

Definition at line 52 of file decQuad.h.

#define DECFLOAT_sNaN   0x7e000000

Definition at line 55 of file decQuad.h.

#define DECPMINUS   0x0D

Definition at line 64 of file decQuad.h.

#define DECPMINUSALT   0x0B

Definition at line 62 of file decQuad.h.

#define DECPPLUS   0x0C

Definition at line 63 of file decQuad.h.

#define DECPPLUSALT   0x0A

Definition at line 61 of file decQuad.h.

#define DECPPLUSALT2   0x0E

Definition at line 65 of file decQuad.h.

#define DECPUNSIGNED   0x0F

Definition at line 66 of file decQuad.h.

#define DECQUAD_Bias   6176

Definition at line 31 of file decQuad.h.

#define DECQUAD_Bytes   16

Definition at line 26 of file decQuad.h.

#define DECQUAD_Declets   11

Definition at line 34 of file decQuad.h.

#define DECQUAD_EconL   12

Definition at line 33 of file decQuad.h.

#define DECQUAD_Ehigh   (DECQUAD_Emax + DECQUAD_Bias - (DECQUAD_Pmax-1))

Definition at line 36 of file decQuad.h.

#define DECQUAD_Emax   6144

Definition at line 29 of file decQuad.h.

#define DECQUAD_EmaxD   4

Definition at line 30 of file decQuad.h.

#define DECQUAD_Emin   -6143

Definition at line 28 of file decQuad.h.

#define DECQUAD_Pmax   34

Definition at line 27 of file decQuad.h.

#define DECQUAD_String   43

Definition at line 32 of file decQuad.h.

#define DECQUADAUTHOR   "Mike Cowlishaw"

Definition at line 23 of file decQuad.h.

#define decQuadFromNumber (   dq,
  dn,
  set 
)    (decQuad *)decimal128FromNumber((decimal128 *)(dq), dn, set)

Definition at line 161 of file decQuad.h.

#define DECQUADNAME   "decimalQuad"

Definition at line 21 of file decQuad.h.

#define DECQUADTITLE   "Decimal 128-bit datum"

Definition at line 22 of file decQuad.h.

#define decQuadToNumber (   dq,
  dn 
)    decimal128ToNumber((decimal128 *)(dq), dn)

Definition at line 160 of file decQuad.h.


Function Documentation

decQuad* decQuadAbs ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadAdd ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadAnd ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadCanonical ( decQuad ,
const decQuad  
)
enum decClass decQuadClass ( const decQuad )
const char* decQuadClassString ( const decQuad )
decQuad* decQuadCompare ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadCompareSignal ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadCompareTotal ( decQuad ,
const decQuad ,
const decQuad  
)
decQuad* decQuadCompareTotalMag ( decQuad ,
const decQuad ,
const decQuad  
)
decQuad* decQuadCopy ( decQuad ,
const decQuad  
)
decQuad* decQuadCopyAbs ( decQuad ,
const decQuad  
)
decQuad* decQuadCopyNegate ( decQuad ,
const decQuad  
)
decQuad* decQuadCopySign ( decQuad ,
const decQuad ,
const decQuad  
)
uint32_t decQuadDigits ( const decQuad )
decQuad* decQuadDivide ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadDivideInteger ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadFMA ( decQuad ,
const decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadFromBCD ( decQuad ,
int32_t  ,
const uint8_t ,
int32_t   
)
decQuad* decQuadFromInt32 ( decQuad ,
int32_t   
)
decQuad* decQuadFromPacked ( decQuad ,
int32_t  ,
const uint8_t  
)
decQuad* decQuadFromString ( decQuad ,
const char *  ,
decContext  
)
decQuad* decQuadFromUInt32 ( decQuad ,
uint32_t   
)
int32_t decQuadGetCoefficient ( const decQuad ,
uint8_t  
)
int32_t decQuadGetExponent ( const decQuad )
decQuad* decQuadInvert ( decQuad ,
const decQuad ,
decContext  
)
uint32_t decQuadIsCanonical ( const decQuad )
uint32_t decQuadIsFinite ( const decQuad )
uint32_t decQuadIsInfinite ( const decQuad )
uint32_t decQuadIsInteger ( const decQuad )
uint32_t decQuadIsNaN ( const decQuad )
uint32_t decQuadIsNormal ( const decQuad )
uint32_t decQuadIsSignaling ( const decQuad )
uint32_t decQuadIsSignalling ( const decQuad )
uint32_t decQuadIsSigned ( const decQuad )
uint32_t decQuadIsSubnormal ( const decQuad )
uint32_t decQuadIsZero ( const decQuad )
decQuad* decQuadLogB ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadMax ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadMaxMag ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadMin ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadMinMag ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadMinus ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadMultiply ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadNextMinus ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadNextPlus ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadNextToward ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadOr ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadPlus ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadQuantize ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
uint32_t decQuadRadix ( const decQuad )
decQuad* decQuadReduce ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadRemainder ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadRemainderNear ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadRotate ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
uint32_t decQuadSameQuantum ( const decQuad ,
const decQuad  
)
decQuad* decQuadScaleB ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadSetCoefficient ( decQuad ,
const uint8_t ,
int32_t   
)
decQuad* decQuadSetExponent ( decQuad ,
decContext ,
int32_t   
)
decQuad* decQuadShift ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
void decQuadShow ( const decQuad ,
const char *   
)
decQuad* decQuadSubtract ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
int32_t decQuadToBCD ( const decQuad ,
int32_t ,
uint8_t  
)
char* decQuadToEngString ( const decQuad ,
char *   
)
int32_t decQuadToInt32 ( const decQuad ,
decContext ,
enum  rounding 
)
int32_t decQuadToInt32Exact ( const decQuad ,
decContext ,
enum  rounding 
)
decQuad* decQuadToIntegralExact ( decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadToIntegralValue ( decQuad ,
const decQuad ,
decContext ,
enum  rounding 
)
int32_t decQuadToPacked ( const decQuad ,
int32_t ,
uint8_t  
)
char* decQuadToString ( const decQuad ,
char *   
)
uint32_t decQuadToUInt32 ( const decQuad ,
decContext ,
enum  rounding 
)
uint32_t decQuadToUInt32Exact ( const decQuad ,
decContext ,
enum  rounding 
)
const char* decQuadVersion ( void  )
decQuad* decQuadXor ( decQuad ,
const decQuad ,
const decQuad ,
decContext  
)
decQuad* decQuadZero ( decQuad )