calculation of angles

Hilton Evans hfevans_nospam at ici.net
Wed Jan 5 21:08:19 EST 2000


"Mark" <gatfix at hotmail.com> wrote in message news:83d7hj$ih5$1 at nnrp1.deja.com...

> 
> (a) why atan2(y,x) is preferred to atan(y/x);

    atan(y/x) offers no protection against x=0
    
    
-- 
Hilton Evans
NMRPen C-13 NMR Shift   --  http://home.ici.net/~hfevans/nmrpen.htm
Molecular Mechanics  for Win95/NT --  http://home.ici.net/~hfevans/chempen3d.htm
Chemical Structure Drawing  -- http://home.ici.net/~hfevans/chempen.htm
Organic Reactions  -- http://home.ici.net/~hfevans/reactions.htm






More information about the Molmodel mailing list