Truncate to a new width with signed saturation to an unsigned result.
If this APInt, treated as signed, can be losslessly truncated, return the truncated value; otherwise return zero (if negative) or unsigned max. If width matches the current bit width then no changes are made.
This value truncated to width with signed-to-unsigned saturation.
| Name | Description |
|---|---|
| width | New bit width |