Mercurial > printf
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e3088565a6b8 |
|---|---|
| 1 /* For all tests, this is the printf format string and all parameters. */ | |
| 2 | |
| 3 /* This is a really odd printf string. Chances are you won't use most of these | |
| 4 * but they are useful for stress-testing some of the weirder parts of printf. */ | |
| 5 "%% %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 |
