using approximate comparisons for doctests
operations on reals could return complex numbers

for instance ¯1*.5