Use define-prim to define Kahan's complex elementary functions.