atan2()
Thomas Hameenaho
thomas at uplog.se
Fri Aug 25 20:52:34 AEST 1989
I presume you've included <math.h>
The man page for atan2 on our pyramid says that:
atan returns values in the range -pi/2 through pi/2 while
atan2 returns in the range -pi through pi.
Can this be your problem?
--
Real life: Thomas Hameenaho Email: thomas at uplog.se
Snail mail: TeleLOGIC Uppsala AB Phone: +46 18 189406
Box 1218 Fax: +46 18 132039
S - 751 42 Uppsala, Sweden
More information about the Comp.lang.c
mailing list