v = [0, pi*i];
x = [1, -1];
all (abs (asech (x) - v) < sqrt (eps))

