[futurebasic] Re: [FB] atan2 -- need code replace this function

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2003 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Thu, 28 Aug 2003 20:21:51 -0400
On Thursday, August 28, 2003, at 08:05  PM, Robert Purves wrote:

>
> David Parrish wrote:
>
>> I need FB code for the atan2(x,y) trig function. This finds the 
>> Arctangent of a point.
>
>
> #if ( CarbonLib == 0 )
> library "MathLib"
> #endif
> toolbox fn atan2( double y, double x ) = double
> library
>
> print fn atan2( 1.0, 1.0 )
> print fn atan2( -1.0, 1.0 )
> print fn atan2( -1.0, -1.0 )
> print fn atan2( 1.0, -1.0 )
>
>
> Robert P.

I want a dialup to your house.

rc