Thread Tools
Old April 18, 2003, 18:32   #1
Chaos Theory
Alpha Centauri PBEMAlpha Centauri Democracy GameC4DG Team Alpha CentauriansACDG3 SpartansACDG3 MorganACDG3 Data AngelsApolytoners Hall of FameACDG3 Gaians
Emperor
 
Chaos Theory's Avatar
 
Local Time: 22:54
Local Date: November 1, 2010
Join Date: Oct 2002
Location: Missouri / Misery; CC
Posts: 3,042
-2^63
My credits overflowed in BNT2. It's about time for a reset.
Chaos Theory is offline  
Old April 19, 2003, 01:57   #2
Xentropy
Trade Wars / BlackNova Traders
Warlord
 
Local Time: 15:54
Local Date: November 1, 2010
Join Date: Dec 2001
Posts: 275
Integers in BNT are signed 64-bit? Odd. You'd think he'd use unsigned if he was going for large integers

So you have -9,223,372,036,854,775,808 odd credits now? LOL
Xentropy is offline  
Old April 19, 2003, 12:55   #3
Chaos Theory
Alpha Centauri PBEMAlpha Centauri Democracy GameC4DG Team Alpha CentauriansACDG3 SpartansACDG3 MorganACDG3 Data AngelsApolytoners Hall of FameACDG3 Gaians
Emperor
 
Chaos Theory's Avatar
 
Local Time: 22:54
Local Date: November 1, 2010
Join Date: Oct 2002
Location: Missouri / Misery; CC
Posts: 3,042
Unsigned wouldn't really fix the problem, since planetary credits double every two days. The only solution is to sacrifice some precision and use floating-point numbers. As it was, I had lost precision in the last three digits before my credits overflowed, so there's some converting going on.
Chaos Theory is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 19:54.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team