P99
Macros
Decimal or hexadecimal double constants
+ Collaboration diagram for Decimal or hexadecimal double constants:

Macros

#define P99_DEC_DOUBLE(SIGN, INT, FRAC, ESIGN, EXP)
 construct a double constant in decimal representation. More...
 
#define P99_HEX_DOUBLE(SIGN, HEXINT, HEXFRAC, ESIGN, BINEXP)
 construct a double constant in hexadecimal representation. More...
 

Detailed Description

Since not all substrings of a double constant form a valid preprocessor token, construction of double constants must be done carefully when macros are used. The macros here guarantee that this is done in a portable way.

P99_DEC_DOUBLE
#define P99_DEC_DOUBLE(SIGN, INT, FRAC, ESIGN, EXP)
construct a double constant in decimal representation.
Definition: p99_double.h:69