HP aC++/HP ANSI C A.06.28 Release (769149-001, March 2014)
C++ support currently has a limitation of not being able to use the three new Decimal FP types in
a throw expression or a typeid operator.
For more information on using Decimal FP, see the release notes section "Decimal floating-point
arithmetic supported" under "New Features in the A.06.20 Release."
#pragma STDC FLOAT_CONST_DECIMAL64 (New)
#pragma STDC FLOAT_CONST_DECIMAL64 [ON | OFF | DEFAULT]
With this pragma set to OFF, unsuffixed floating-point constants are treated as having type double.
With this pragma set to ON, unsuffixed floating-point constants are treated as having type
_Decimal64.
The pragma can occur in either of these two contexts:
• Outside external declarations
In this case, the pragma takes effect from its occurrence until another
FLOAT_CONST_DECIMAL64 pragma is encountered, or until the end of the translation unit.
• Preceding all explicit declarations and statements inside a compound statement.
In this case, the pragma takes effect from its occurrence until another
FLOAT_CONST_DECIMAL64 pragma is encountered (including within a nested compound
statement), or until the end of the compound statement; at the end of a compound statement,
the state for the pragma is restored to its condition just before the compound statement.
If this pragma is used in any other context, the behavior is undefined. The default state for the
pragma is OFF.
Note: In order to use this pragma safely with macros that are defined in <math.h> and
<float.h>, the following Math Library patch must be installed: PHSS_40540.
For more information on using Decimal FP, see the release notes section “Decimal floating-point
arithmetic supported” under "New Features in the A.06.20 Release."
#pragma omp task (New)
#pragma omp task [clause1, clause2, ...] new-line structured block
The OpenMP 3.0 directive #pragma omp task defines an explicit task.
[clause1, clause2, ...] indicates that the clauses are optional. There can be zero or more
clauses.
clause may be one of the following:
if (scalar-expression)
untied
default (shared | none)
private (list)
firstprivate (list)
shared (list)
#pragma omp taskwait (New)
#pragma omp taskwait new-line
The OpenMP 3.0 directive #pragma omp taskwait specifies a wait on the completion of child
tasks generated since the beginning of the current task.
Because the taskwait construct does not have a C language statement as part of its syntax, there
are some restrictions on its placement within a program. The taskwait directive may be placed
only at a point where a base language statement is allowed. The taskwait directive may not be
used in place of the statement following an if, while, do, switch, or label.
30 Product changes in earlier versions