Hello, everyone,
I wonder what happen if the integer value is higher than the result bits number?
Is it just truncated?
For instance in case of to_unsigned(1189,8): the 547 decimal is x"4A5". But the number of bits for conversion is 0nly 8.
So, the result will be x"A5"?
Thanx,
Eli.
I wonder what happen if the integer value is higher than the result bits number?
Is it just truncated?
For instance in case of to_unsigned(1189,8): the 547 decimal is x"4A5". But the number of bits for conversion is 0nly 8.
So, the result will be x"A5"?
Thanx,
Eli.