LemonBoy 27adb82fda std: Respect user-specified alignment when formatting ints
This implementation tries to do the right thing (TM) by treating the
sign as part of the number itself, therefore the alignment parameter
applies to both the sign and the digits.

In other words the format string `{:>4}` with -1 as input will not
output `-  1` but `  -1`.

And let's default to right alignment for everything as that's what users
want, especially when printing numbers. Many implementations use
different defaults for numeric vs non-numeric types, let's strive for a
consistent behaviour here.
2020-09-17 00:53:08 +02:00
..
2020-09-11 20:02:41 -04:00
2020-09-10 18:53:20 -07:00
2020-09-08 13:04:14 -04:00
2020-09-07 20:44:01 +03:00
2020-09-13 09:53:20 -07:00
2020-09-03 15:05:47 +03:00
2020-09-07 06:23:24 -06:00
2020-09-04 05:15:03 +03:00
2020-09-11 20:02:41 -04:00
2020-09-04 12:48:36 +02:00
2020-09-04 22:49:14 +03:00
2020-08-20 16:07:04 -04:00
2020-09-04 05:22:26 +03:00