Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Complexity.InSpace.NatSize

Native binary-width measurement #

The binary size of a runtime natural is computed by measuring its encoded digits. natSize returns that width in binary; natSizeUnary returns it in unary. Neither operation expands the original natural to unary.

Measure the binary width of a runtime natural in linear encoded-input space.

The binary width, returned in unary, in linear encoded-input space.