def zext(self, num):
        """Zero-extend this farray by *num* bits.

        Returns a new farray.
        """
        zero = self.ftype.box(0)
        return self.__class__(self._items + [zero] * num, ftype=self.ftype)
Zero-extend this farray by *num* bits.

        Returns a new farray.