Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Austrian Coder

datatype and valuerange

This topic is 5546 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It''s something like this:
__int8 (char) = 2^8 = 0 - 255
__int16 (short) = 2^16 = 0 - 65535
__int32 (long) = 2^32 = 0 - 4294967295
__int64 = 2^64 = 0 - 18446744073709551615

Those are all unsigned values, for signed, cut the max value in half and subtract the new max value from the min value.

- Pouya

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
This is just from the top of my head, but I think there''s something like


available for you.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!