Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to increse the range of intgere from 2147483647 -- -2147483648

Status
Not open for further replies.

srsamit

Technical User
May 29, 2003
3
IN
My problem is i am trying to store number more then intgere range of 2147483647 into a integer data type which i am getting from std_logic_vector. I am type casting into intgere type but since the range of the intgere is from -2^31 to 2^31 hence due to the last bit of std_logic_vector it is taking sign bit. hence i am not getting value more then 2147483647 which i need for some arithmetic operation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top