__d64_to_unsigned_BCD

Note: When you invoke the Clang-based front end of IBM® XL C/C++ for AIX® 16.1 using the xlclang or xlclang++ invocation command, decimal floating-point built-in functions are not supported.

Purpose

Convert to Unsigned Binary Coded Decimal.

Converts the lower digits of a 64-bit decimal floating-point value to an Unsigned Packed Format.

Prototype

unsigned long long __d64_to_unsigned_BCD (_Decimal64);

Return value

Returns 16 decimal digits with no sign in a 64-bit result.

Usage

You can use the __d64_shift_right function to access the digits to the left.