I know it's probably been answered, but my google-fu is failing me today...
I have two 2D points; A and B
A has a known Heading.
The X and Y coordinates are always positive, if that helps at all.
What I would like to do is figure out the angle that A needs to turn in order for the Heading to be pointing toward B. Once I know the turn angle, figuring out if it's the smallest (i.e. is turning left quicker than turning right, or vice versa) is easy.