On the unit circle, cos θ and sin θ are just the coordinates of the point. Drag it round: the acute reference angle gives the size, and ASTC (which quadrant) gives the sign.