X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Brent Ritchie" Newsgroups: comp.os.msdos.djgpp References: <5cp%7.332292$ez DOT 47656452 AT news1 DOT rdc1 DOT nj DOT home DOT com> Subject: Re: allegro and math libraries Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Sun, 17 Feb 2002 00:15:08 -0500 NNTP-Posting-Host: 64.231.112.111 X-Complaints-To: abuse AT sympatico DOT ca X-Trace: news20.bellglobal.com 1013922898 64.231.112.111 (Sun, 17 Feb 2002 00:14:58 EST) NNTP-Posting-Date: Sun, 17 Feb 2002 00:14:58 EST Organization: Bell Sympatico To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Just a suggestion, you shouldn't rely on *magic* numbers like 3.1415. In my opinion it's not good practice. I use this method. const float pi = (atan(1)*4); You then can go pi/180 or what ever, this method is also alot more accurate IMHO, plus it makes the code easier to understand. Just suggestions not trying to make anyone mad.