Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Ralph1971
Wanderer


Joined: 01 Mar 2008
Posts: 64

PostPosted: Thu May 19, 2011 6:26 pm   

large numbers
 
Is there a limitation in zmud/cmud regarding large numbers and variables/math functions?
I have a running tally that, depending on the situation, can exceed 2b.. in the testing, it seems that just after the 2b mark, it goes negative 2b...
a =1.8b
add 100m
a =1.9b
add 100m
a=2b
add 100m
a=2.1b
add 100m
a=-2.2b
_________________
Win7-home - Cmud 3.33a
WinXP-pro - Zmud 7.21
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Thu May 19, 2011 6:29 pm   
 
Yes.

zMUD: 2,147,483,647
CMUD: 9,223,372,036,854,775,808
_________________
Taz :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
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

© 2009 Zugg Software. Hosted by Wolfpaw.net