Adjacent Value Types (Gas-efficient Abstractions)
mainPRBMath provides adjacent value types that act as abstractions over lower bit-width integers. These are useful for saving gas when used in structs. Note that these types do not have mathematical functionality; you must unwrap them to a simple integer and then cast them to SD59x18 or UD60x18 to perform math.
| Value Type | Underlying Type |
| ---------- | --------------- |
| `SD1x18` | int64 |
| `SD21x18` | int128 |
| `UD2x18` | uint64 |
| `UD21x18` | uint128 |