The numeric type conversion functions are used to convert between integer data types and signed and unsigned data types.

 

    function to_integer (ARG: unsigned) return natural;

    function to_integer (ARG: signed) return integer;

    function to_unsigned (ARG, SIZE: natural) return unsigned;

    function to_signed (ARG: integer; SIZE: natural) return signed;