$bits Usage

In reply to hctseng:

Yes, as long as the argument to $bits is a fixed sized type, you can use it as a constant expression.