def real_dtype(self):
        """Returns the dtype correspond to this dtype's real part."""
        base = self.base_dtype
        if base == complex64:
            return float32
        elif base == complex128:
            return float64
        else:
            return self