Message-ID: <386ADB08.76641F56@caresystems.com.au> Date: Thu, 30 Dec 1999 14:09:44 +1000 From: leon X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Inverse trigonometry functions in Djgpp References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com "Jarkko Kähkönen" wrote: > 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 what are the input units for Atan() ? eg radians, degrees?