Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!image.soe.clarkson.edu!news From: varneyml@clutx.clarkson.edu (Mike Varney,303 Wilson,5183551510,3152682130) Newsgroups: comp.sources.games.bugs Subject: Re: RE: Galactic Bloodshed problems Message-ID: <1990Aug15.205244.2235@sun.soe.clarkson.edu> Date: 15 Aug 90 20:52:44 GMT References: <32547@eerie.acsu.Buffalo.EDU> Sender: news@sun.soe.clarkson.edu Reply-To: varneyml@clutx.clarkson.edu Organization: Clarkson University, Potsdam, NY Lines: 34 From article <32547@eerie.acsu.Buffalo.EDU>, by v056ped5@ubvmsd.cc.buffalo.edu (Brian M McNamara): > Try downloading the server file again. It was reposted on August 8th, > and the new version is supposed to have all the log1p problems fixed. > > Brian This wasn't changed in the latest posting. There are 2 ways to take care of this problem. "log1p(x)" is equal to "log(1+x)". You can just go through all the servers that have that function in it ("grep log1p *.c") and change them all, or you can add this function to "vars.h": ---------------------->8-->8---*Snip* *Snip*---8<--8<---------------------- double log1p(x) double x; { return(log(1+x)); } ---------------------->8-->8---*Snip* *Snip*---8<--8<---------------------- As "vars.h" is #included in most (I believe ALL) the files, log1p will get defined throughout the programs. --------------------------------------------------------------------------- Mike Varney VARNEYML@CLUTX.CLARKSON.EDU --2-- games of GB running: Ports 2130 and 2131 or 128.143.4.3 Telnet to port 2130 for details...