home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.ibm.pc.games
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!po.CWRU.Edu!jwk3
- From: jwk3@po.CWRU.Edu (John W. Kale)
- Subject: Re: RRT: Computer opponents up to their eyeballs in debt
- Message-ID: <1992Jul28.060116.2171@usenet.ins.cwru.edu>
- Sender: news@usenet.ins.cwru.edu
- Nntp-Posting-Host: thor.ins.cwru.edu
- Reply-To: jwk3@po.CWRU.Edu (John W. Kale)
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- References: <1992Jul27.174114.8204@lmpsbbs.comm.mot.com> <1992Jul25.170558.16000@javelin.sim.es.com> <1992Jul26.190058.20683@javelin.sim.es.com>
- Date: Tue, 28 Jul 92 06:01:16 GMT
- Lines: 36
-
-
- In a previous article, bhv@areaplg2.corp.mot.com (Bronis Vidugiris) says:
-
- >In article <1992Jul26.190058.20683@javelin.sim.es.com> krogers@javelin.sim.es.com writes:
- >
- >)I have some even stranger news to report after my original posting.
- >)I'm playing along with the above saved game and go to my broker. To
- >)my surprise, one of the lines which had been $24M in debt the last
- >)time I checked wasnow $29 M *in the black*. I thought it was a
- >)computer bug since I instantly bought up 60% (it owned no stock and
- >)had no net worth) of stock and tried to milk that money. No di. Ok,
- >)I figure it had to be a bug - the number should have been red but was
- >)black.
- >
- >Sounds like a bug to me - probably a 16bit int with a 1000 scale factor
- >for cash - this would give a maximum of 32,000M before the sign reversed.
- >
- >I believe I've seen very successful companines go from black to red - this
- >would be the case if there is a sign overflow as I described.
- >
- >
- I have seena variant of this problem which can make a pretty
- neat cheat; When I was attempting a takeover of a rival RR, the other
- company demanded an exorbitant fee for the remaining treasury stock.
- It was too expensive for me at the time, but I held on to 50% of
- the shares, and later found that their demand had wrapped around
- and was *negative*, so I got to buy out the competition for free!
- (Although you would expect to actually end up getting paid for
- buying the stock, I don't think that happened...)
-
- --
- Looking down the barrel of a loaded gun | John Kale ''''
- Just to see where the bullets come from! | jwk3@po.cwru.edu -o-o
- -Screaming Blue Messiahs | ---UUU---U--UUU--
- Hope they don't hang you, cause you put me back! Back in business...
-