IUNSIGNED

IUNSIGNED(x) returns the result of casting x to an unsigned integer value without changing its bit pattern.

Read syntax diagramSkip visual syntax diagram
>>-IUNSIGNED(x)------------------------------------------------><

x
Expression. x must have a computational type.

If x is not an integer, that is, if x is not REAL FIXED BIN with zero scale factor, it is converted to REAL FIXED BIN(p,0).

IUNSIGNED(x) returns, for integer x, a value with the same bit pattern as x but with the attributes UNSIGNED FIXED BIN(p).

If x is SIGNED, p is given as follows:

Example

   IUNSIGNED('ff_ff_ff_ff'xn) equals the largest UNSIGNED FIXED BIN(32) value.





Published: 23 December 2018