__d64_shift_left, __d128_shift_left

Purpose

Shift Coefficient Left.

Shifts the coefficient of the parameter left.

Prototype

_Decimal64 __d64_shift_left (_Decimal64, unsigned long digits);

_Decimal128 __d128_shift_left (_Decimal128, unsigned long digits);

Parameters

digits
The number of digits to be shifted left. The shift count must be in the range 0 to 63; otherwise the result is undefined.

Return value

The sign and exponent are unchanged. The digits are shifted left.