unary ===== .. module:: unary Converts a binary represented :class:`~.Uint` number and converts it to an unary representation. .. py:function:: unary(din: Uint) -> Uint[2**(din.width-1)] .. pg-example:: examples/unary :lines: 4-6