faster float(array) and complex(array) in simple cases