From: "Jarkko Kähkönen" Newsgroups: comp.os.msdos.djgpp Subject: Inverse trigonometry functions in Djgpp Lines: 20 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Thu, 30 Dec 1999 04:50:08 +0200 NNTP-Posting-Host: 62.236.192.24 X-Trace: uutiset.nic.fi 946522140 62.236.192.24 (Thu, 30 Dec 1999 04:49:00 EET) NNTP-Posting-Date: Thu, 30 Dec 1999 04:49:00 EET Organization: NIC Tietoverkot Oy - NIC Data Networks Ltd. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Atan () - don't work! Here is a bit of my code: float direction; direction = atan ( 120 / 90 ); printf ("%f", direction"); And output is this: 0.927295 But with calculator it is: tan^-1 (120 / 90) = 53.1301023... Is atan () right inverse tan function? Greetings, Jarkko DOT Kahkonen AT mbnet DOT REMOVETHAT DOT fi