For a complex number of the form a+bi, IMCSC implements the following equation:
However, IMCSC determines if b=0 and in this case simply returns 1/sin(a).