Implement almost all of printf

This commit is contained in:
jD91mZM2
2018-10-13 14:13:04 +02:00
parent b517629371
commit 63882684b2
13 changed files with 713 additions and 185 deletions
+33 -1
View File
@@ -7,4 +7,36 @@ uint: 32
hex: beef
HEX: C0FFEE
string: end
len of previous write: 94
%n returned 51, total len of write: 94
Padding madness:
001 +2
c
0x00000ff
001
0 0x1
1
(00123) ( 123)
(-0123) ( -123)
( )
0xabcdef
(nil)
Positional madness:
4 3 2
00002
|Fiz |Buz | Fiz| Tot|
Float madness:
1.234568e+02
1.000000E-05
123.456789
0.000010
-1.234568e+02
-00000001.234568e+02
100000
1e+06
1.000000e+06
0.0001
1E-05
1.000000E-05