Mercurial > printf
diff test.h @ 0:e3088565a6b8 default tip
*: initial commit
kinda dumb, but wifi was out and I was bored.
most of this code is shit.
| author | Paper <paper@tflc.us> |
|---|---|
| date | Wed, 03 Dec 2025 03:04:39 -0500 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test.h Wed Dec 03 03:04:39 2025 -0500 @@ -0,0 +1,5 @@ +/* For all tests, this is the printf format string and all parameters. */ + +/* This is a really odd printf string. Chances are you won't use most of these + * but they are useful for stress-testing some of the weirder parts of printf. */ +"%% %Lf %Lf %f %555f %-4e %+08d %8d %6.s %-7lc %ls %c %hhu %#08x %#o %zu %p %zd\n", 0.1l + 0.2l, LDBL_MAX, DBL_MAX, -NAN, INFINITY, 1, 1, "yay", L'รค', L"good morning America", 'a', 1111, 123u, 0777, sizeof(long long), (void *)malloc, SIZE_MAX \ No newline at end of file
