HPGCC3 Documentation 3.0 R003

decDouble.h File Reference

#include "decContext.h"
#include "decQuad.h"

Go to the source code of this file.

Data Structures

struct  decDouble

Defines

#define DECDOUBLENAME   "decimalDouble"
#define DECDOUBLETITLE   "Decimal 64-bit datum"
#define DECDOUBLEAUTHOR   "Mike Cowlishaw"
#define DECDOUBLE_Bytes   8
#define DECDOUBLE_Pmax   16
#define DECDOUBLE_Emin   -383
#define DECDOUBLE_Emax   384
#define DECDOUBLE_EmaxD   3
#define DECDOUBLE_Bias   398
#define DECDOUBLE_String   25
#define DECDOUBLE_EconL   8
#define DECDOUBLE_Declets   5
#define DECDOUBLE_Ehigh   (DECDOUBLE_Emax + DECDOUBLE_Bias - (DECDOUBLE_Pmax-1))
#define decDoubleToNumber(dq, dn)   decimal64ToNumber((decimal64 *)(dq), dn)
#define decDoubleFromNumber(dq, dn, set)   (decDouble *)decimal64FromNumber((decimal64 *)(dq), dn, set)

Functions

decDoubledecDoubleFromBCD (decDouble *, int32_t, const uint8_t *, int32_t)
decDoubledecDoubleFromInt32 (decDouble *, int32_t)
decDoubledecDoubleFromPacked (decDouble *, int32_t, const uint8_t *)
decDoubledecDoubleFromString (decDouble *, const char *, decContext *)
decDoubledecDoubleFromUInt32 (decDouble *, uint32_t)
decDoubledecDoubleFromWider (decDouble *, const decQuad *, decContext *)
int32_t decDoubleGetCoefficient (const decDouble *, uint8_t *)
int32_t decDoubleGetExponent (const decDouble *)
decDoubledecDoubleSetCoefficient (decDouble *, const uint8_t *, int32_t)
decDoubledecDoubleSetExponent (decDouble *, decContext *, int32_t)
void decDoubleShow (const decDouble *, const char *)
int32_t decDoubleToBCD (const decDouble *, int32_t *, uint8_t *)
char * decDoubleToEngString (const decDouble *, char *)
int32_t decDoubleToInt32 (const decDouble *, decContext *, enum rounding)
int32_t decDoubleToInt32Exact (const decDouble *, decContext *, enum rounding)
int32_t decDoubleToPacked (const decDouble *, int32_t *, uint8_t *)
char * decDoubleToString (const decDouble *, char *)
uint32_t decDoubleToUInt32 (const decDouble *, decContext *, enum rounding)
uint32_t decDoubleToUInt32Exact (const decDouble *, decContext *, enum rounding)
decQuaddecDoubleToWider (const decDouble *, decQuad *)
decDoubledecDoubleZero (decDouble *)
decDoubledecDoubleAbs (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleAdd (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleAnd (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleDivide (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleDivideInteger (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleFMA (decDouble *, const decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleInvert (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleLogB (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleMax (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleMaxMag (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleMin (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleMinMag (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleMinus (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleMultiply (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleNextMinus (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleNextPlus (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleNextToward (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleOr (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoublePlus (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleQuantize (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleReduce (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleRemainder (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleRemainderNear (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleRotate (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleScaleB (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleShift (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleSubtract (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleToIntegralValue (decDouble *, const decDouble *, decContext *, enum rounding)
decDoubledecDoubleToIntegralExact (decDouble *, const decDouble *, decContext *)
decDoubledecDoubleXor (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleCompare (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleCompareSignal (decDouble *, const decDouble *, const decDouble *, decContext *)
decDoubledecDoubleCompareTotal (decDouble *, const decDouble *, const decDouble *)
decDoubledecDoubleCompareTotalMag (decDouble *, const decDouble *, const decDouble *)
decDoubledecDoubleCanonical (decDouble *, const decDouble *)
decDoubledecDoubleCopy (decDouble *, const decDouble *)
decDoubledecDoubleCopyAbs (decDouble *, const decDouble *)
decDoubledecDoubleCopyNegate (decDouble *, const decDouble *)
decDoubledecDoubleCopySign (decDouble *, const decDouble *, const decDouble *)
enum decClass decDoubleClass (const decDouble *)
const char * decDoubleClassString (const decDouble *)
uint32_t decDoubleDigits (const decDouble *)
uint32_t decDoubleIsCanonical (const decDouble *)
uint32_t decDoubleIsFinite (const decDouble *)
uint32_t decDoubleIsInfinite (const decDouble *)
uint32_t decDoubleIsInteger (const decDouble *)
uint32_t decDoubleIsNaN (const decDouble *)
uint32_t decDoubleIsNormal (const decDouble *)
uint32_t decDoubleIsSignaling (const decDouble *)
uint32_t decDoubleIsSignalling (const decDouble *)
uint32_t decDoubleIsSigned (const decDouble *)
uint32_t decDoubleIsSubnormal (const decDouble *)
uint32_t decDoubleIsZero (const decDouble *)
uint32_t decDoubleRadix (const decDouble *)
uint32_t decDoubleSameQuantum (const decDouble *, const decDouble *)
const char * decDoubleVersion (void)

Define Documentation

#define DECDOUBLE_Bias   398

Definition at line 29 of file decDouble.h.

#define DECDOUBLE_Bytes   8

Definition at line 24 of file decDouble.h.

#define DECDOUBLE_Declets   5

Definition at line 32 of file decDouble.h.

#define DECDOUBLE_EconL   8

Definition at line 31 of file decDouble.h.

#define DECDOUBLE_Ehigh   (DECDOUBLE_Emax + DECDOUBLE_Bias - (DECDOUBLE_Pmax-1))

Definition at line 34 of file decDouble.h.

#define DECDOUBLE_Emax   384

Definition at line 27 of file decDouble.h.

#define DECDOUBLE_EmaxD   3

Definition at line 28 of file decDouble.h.

#define DECDOUBLE_Emin   -383

Definition at line 26 of file decDouble.h.

#define DECDOUBLE_Pmax   16

Definition at line 25 of file decDouble.h.

#define DECDOUBLE_String   25

Definition at line 30 of file decDouble.h.

#define DECDOUBLEAUTHOR   "Mike Cowlishaw"

Definition at line 21 of file decDouble.h.

#define decDoubleFromNumber (   dq,
  dn,
  set 
)    (decDouble *)decimal64FromNumber((decimal64 *)(dq), dn, set)

Definition at line 139 of file decDouble.h.

#define DECDOUBLENAME   "decimalDouble"

Definition at line 19 of file decDouble.h.

#define DECDOUBLETITLE   "Decimal 64-bit datum"

Definition at line 20 of file decDouble.h.

#define decDoubleToNumber (   dq,
  dn 
)    decimal64ToNumber((decimal64 *)(dq), dn)

Definition at line 138 of file decDouble.h.


Function Documentation

decDouble* decDoubleAbs ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleAdd ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleAnd ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleCanonical ( decDouble ,
const decDouble  
)
enum decClass decDoubleClass ( const decDouble )
const char* decDoubleClassString ( const decDouble )
decDouble* decDoubleCompare ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleCompareSignal ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleCompareTotal ( decDouble ,
const decDouble ,
const decDouble  
)
decDouble* decDoubleCompareTotalMag ( decDouble ,
const decDouble ,
const decDouble  
)
decDouble* decDoubleCopy ( decDouble ,
const decDouble  
)
decDouble* decDoubleCopyAbs ( decDouble ,
const decDouble  
)
decDouble* decDoubleCopyNegate ( decDouble ,
const decDouble  
)
decDouble* decDoubleCopySign ( decDouble ,
const decDouble ,
const decDouble  
)
uint32_t decDoubleDigits ( const decDouble )
decDouble* decDoubleDivide ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleDivideInteger ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleFMA ( decDouble ,
const decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleFromBCD ( decDouble ,
int32_t  ,
const uint8_t ,
int32_t   
)
decDouble* decDoubleFromInt32 ( decDouble ,
int32_t   
)
decDouble* decDoubleFromPacked ( decDouble ,
int32_t  ,
const uint8_t  
)
decDouble* decDoubleFromString ( decDouble ,
const char *  ,
decContext  
)
decDouble* decDoubleFromUInt32 ( decDouble ,
uint32_t   
)
decDouble* decDoubleFromWider ( decDouble ,
const decQuad ,
decContext  
)
int32_t decDoubleGetCoefficient ( const decDouble ,
uint8_t  
)
int32_t decDoubleGetExponent ( const decDouble )
decDouble* decDoubleInvert ( decDouble ,
const decDouble ,
decContext  
)
uint32_t decDoubleIsCanonical ( const decDouble )
uint32_t decDoubleIsFinite ( const decDouble )
uint32_t decDoubleIsInfinite ( const decDouble )
uint32_t decDoubleIsInteger ( const decDouble )
uint32_t decDoubleIsNaN ( const decDouble )
uint32_t decDoubleIsNormal ( const decDouble )
uint32_t decDoubleIsSignaling ( const decDouble )
uint32_t decDoubleIsSignalling ( const decDouble )
uint32_t decDoubleIsSigned ( const decDouble )
uint32_t decDoubleIsSubnormal ( const decDouble )
uint32_t decDoubleIsZero ( const decDouble )
decDouble* decDoubleLogB ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleMax ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleMaxMag ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleMin ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleMinMag ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleMinus ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleMultiply ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleNextMinus ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleNextPlus ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleNextToward ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleOr ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoublePlus ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleQuantize ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
uint32_t decDoubleRadix ( const decDouble )
decDouble* decDoubleReduce ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleRemainder ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleRemainderNear ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleRotate ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
uint32_t decDoubleSameQuantum ( const decDouble ,
const decDouble  
)
decDouble* decDoubleScaleB ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleSetCoefficient ( decDouble ,
const uint8_t ,
int32_t   
)
decDouble* decDoubleSetExponent ( decDouble ,
decContext ,
int32_t   
)
decDouble* decDoubleShift ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
void decDoubleShow ( const decDouble ,
const char *   
)
decDouble* decDoubleSubtract ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
int32_t decDoubleToBCD ( const decDouble ,
int32_t ,
uint8_t  
)
char* decDoubleToEngString ( const decDouble ,
char *   
)
int32_t decDoubleToInt32 ( const decDouble ,
decContext ,
enum  rounding 
)
int32_t decDoubleToInt32Exact ( const decDouble ,
decContext ,
enum  rounding 
)
decDouble* decDoubleToIntegralExact ( decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleToIntegralValue ( decDouble ,
const decDouble ,
decContext ,
enum  rounding 
)
int32_t decDoubleToPacked ( const decDouble ,
int32_t ,
uint8_t  
)
char* decDoubleToString ( const decDouble ,
char *   
)
uint32_t decDoubleToUInt32 ( const decDouble ,
decContext ,
enum  rounding 
)
uint32_t decDoubleToUInt32Exact ( const decDouble ,
decContext ,
enum  rounding 
)
decQuad* decDoubleToWider ( const decDouble ,
decQuad  
)
const char* decDoubleVersion ( void  )
decDouble* decDoubleXor ( decDouble ,
const decDouble ,
const decDouble ,
decContext  
)
decDouble* decDoubleZero ( decDouble )