__builtin_packed2national
Purpose
Transforms the packed decimal value to national decimal format.
Note: This built-in function
is valid only when the following conditions are met:
- The -mcpu option is set to target POWER9 processors or higher.
- The
bcd.hfile is included.
Prototype
vector unsigned char __builtin_packed2national(vector unsigned char);
Usage
If the input parameter is positive, the sign code of the result is set to
0x002B; if the input parameter is negative, the sign code of the result is set to
0x002D.