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