probably xs**2
returns a number > 1
sqrt with negative number will return nan (not a number)
>>> import numpy as np
>>> np.sqrt(-1)
nan
If i am right numpy provides complex numbers functionality which i think is the only way to represent sqrt(x) where x<0