Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


c++ int size and shit

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
teeigeryuh
Master Cheater
Reputation: 25

Joined: 13 Oct 2008
Posts: 261
Location: The netherlands

PostPosted: Thu Oct 18, 2012 6:22 am    Post subject: c++ int size and shit Reply with quote

if the max int size in c++ is like 2.1b and the max 32 bit int is 4.1b, how come window's calculator can bypas this limit and like, allows you to multiply 1 trillion times 5 for example.
_________________

ლ(╹◡╹ლ)
Back to top
View user's profile Send private message
br0l0ck
Cheater
Reputation: 63

Joined: 15 Aug 2007
Posts: 38

PostPosted: Thu Oct 18, 2012 6:33 am    Post subject: Reply with quote

Back to top
View user's profile Send private message
Aniblaze
Grandmaster Cheater Supreme
Reputation: 138

Joined: 23 Apr 2006
Posts: 1757
Location: The Netherlands

PostPosted: Thu Oct 18, 2012 6:38 am    Post subject: Re: c++ int size and shit Reply with quote

teeigeryuh wrote:
if the max int size in c++ is like 2.1b and the max 32 bit int is 4.1b, how come window's calculator can bypas this limit and like, allows you to multiply 1 trillion times 5 for example.

You can use other primitive types you know...


EDIT: I googled it for you: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=186627
Back to top
View user's profile Send private message
teeigeryuh
Master Cheater
Reputation: 25

Joined: 13 Oct 2008
Posts: 261
Location: The netherlands

PostPosted: Thu Oct 18, 2012 6:42 am    Post subject: Re: c++ int size and shit Reply with quote

Aniblaze wrote:
teeigeryuh wrote:
if the max int size in c++ is like 2.1b and the max 32 bit int is 4.1b, how come window's calculator can bypas this limit and like, allows you to multiply 1 trillion times 5 for example.

You can use other primitive types you know...

So far I've only found BigInteger thanks to google.

Any other alternatives?

Even then, how can a processor accomplish this anyways?

_________________

ლ(╹◡╹ლ)
Back to top
View user's profile Send private message
1929394839292057839194958
Grandmaster Cheater Supreme
Reputation: 130

Joined: 22 Dec 2006
Posts: 1509

PostPosted: Thu Oct 18, 2012 6:46 am    Post subject: This post has 1 review(s) Reply with quote

http://stackoverflow.com/questions/3595247/which-data-type-to-use-for-a-very-large-number-in-c
Back to top
View user's profile Send private message
teeigeryuh
Master Cheater
Reputation: 25

Joined: 13 Oct 2008
Posts: 261
Location: The netherlands

PostPosted: Thu Oct 18, 2012 7:08 am    Post subject: Reply with quote

konr wrote:
http://stackoverflow.com/questions/3595247/which-data-type-to-use-for-a-very-large-number-in-c
scf4dsfsf
_________________

ლ(╹◡╹ლ)
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Oct 18, 2012 9:44 am    Post subject: Reply with quote

Implemented with big integer. Behind the scenes probably BCD
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites