Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!dutrun!hans From: hans@duttnph.UUCP (Hans Buurman) Newsgroups: comp.sources.games.bugs Subject: Re: Lunar Lander Message-ID: <735@dutrun.UUCP> Date: 2 Jun 89 06:44:46 GMT References: <107518@sun.Eng.Sun.COM> <953@maestro.htsa.aha.nl> Sender: tnphnws@dutrun.UUCP Reply-To: hans@duttnph.UUCP (Hans Buurman) Organization: Delft University of Technology, The Netherlands Lines: 23 In article <953@maestro.htsa.aha.nl> hanst@htsa.UUCP (Hans Trompert) writes: >In article <107518@sun.Eng.Sun.COM> falk@sun.Eng.Sun.COM (Ed Falk) writes: >-> andrew (Joseph L. Traub) writes: >->-> The values M_PI and M_PI_2 are never defined. I am assuming >->-> that they are 3.14159 and 2 * 3.14159. >-> They should be defined in >They are NOT defined in , but we included the following in land.c: >#define M_PI 3.141592654 >#define M_PI_2 9.869604404 On a Sun running SunOs 4.0: grep M_PI /usr/include/math.h #define M_PI 3.14159265358979323846 #define M_PI_2 1.57079632679489661923 #define M_PI_4 0.78539816339744830962 Sorry. And I don't even run LL ! ----------------------------------------------------------------------------- Hans Buurman | hans@duttnph.UUCP Pattern Recognition Group | Faculty of Applied Physics | mcvax!hp4nl!dutrun!duttnph!hans Delft University of Technology | tel. 31 - (0) 15 - 78 46 94