I tried your suggestion to unify the code and I got warnings and errors on the type,
numpy\core\src\scalarmathmodule.c.src(693) : error C2440: '=' : cannot convert from 'int' to 'npy_cfloat'

for some of the lines,
*arg1 = NO_CHECK_EXACT(a);

for now all I did was commit the indentation fixes