C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
13-105
TANDEM_FLOAT
TANDEM_FLOAT
The TANDEM_FLOAT directive specifies that the native C or C++ compiler is to use the
proprietary Tandem floating-point format for performing floating-point operations.
The pragma default settings are:
Usage Guidelines
The TANDEM_FLOAT directive can be entered on the compiler RUN command line
or with the -W Tandem_float flag of the c89 program.
In RVUs preceding the G06.06 release, only the proprietary Tandem floating-point
format was available. With the introduction of the processor-hosted IEEE floating-
point format at G06.06, you can choose either Tandem floating-point format or
IEEE floating-point format. For more details, see Compiling and Linking Floating-
Point Programs on page 16-4.
For a high-level discussion of differences between IEEE and Tandem floating-
point, see IEEE Floating-Point Arithmetic on page 4-7.
For more detailed information about differences between the IEEE and Tandem
floating-point formats, see the pragma IEEE_FLOAT on page 13-44.
TRIGRAPH
The TRIGRAPH pragma controls whether the TNS C compiler or Cfront translate
trigraphs for the current compilation. When the TRIGRAPH pragma is in effect, the
compiler recognizes the trigraphs and replaces them with their corresponding C
tokens. When NOTRIGRAPH is in effect, the compiler does not support the trigraph
feature and treats each character in the trigraph as a C token.
TANDEM_FLOAT
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler N.A. N.A.
G-series TNS c89 utility N.A. N.A.
TNS/R native C and C++ compilers TANDEM_FLOAT TANDEM_FLOAT
Native c89 utility For TNS/R code:
TANDEM_FLOAT
For TNS/E code:
IEEE_FLOAT
For TNS/R code:
TANDEM_FLOAT
For TNS/E code:
IEEE_FLOAT
TNS/E native C and C++ compilers IEEE_FLOAT IEEE_FLOAT
[NO]TRIGRAPH