#C, 88 bytes
C, 88 bytes
#include<math.h> typedef double d;d g(d x,d y,d a,d b){return atan2(b-y,a-x)*180/M_PI;} Requires compiling with GCC to take advantage of M_PI being defined in math.h as a part of GCC's built-in math constants. Try it online - since ideone doesn't use GCC (apparently), an additional few bytes are needed for enough digits of π to be accurate.