Return the fractional and integer parts of x. Both results carry the sign of x and are floats. This function has been overriden from math.modf to work element-wise on iterables