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