| State | Location | |
| adjustfield == ios_base::left | pad after | |
| adjustfield == ios_base::right | pad before | |
| adjustfield == internal and a sign occurs in the representation | pad after the sign | |
| adjustfield == internal and representation after stage 1
began with 0x or 0X | pad after x or X | |
| otherwise | pad before |