Michael Hansen
890454a30f
Support '+' format for floating-point types as well
9 years ago
Michael Hansen
db8d2b8044
Non-decimal int formatters
9 years ago
Michael Hansen
76372424cd
Test plFormat's decimal conversions, and fix several issues with signed
...
decimal formatting (especially with negative values)
9 years ago
Michael Hansen
19150c7e4a
Start adding plFormat tests, and remove assert to match plString
9 years ago
Michael Hansen
fb0fc2fdb6
Fix plFormat bug preventing anything after an escape ("{{") from being processed
9 years ago
Michael Hansen
3f39a19d4a
No need to duplicate this code.
10 years ago
Michael Hansen
30410dbdd8
Some fixes for OSX compilation. Closes #450
10 years ago
Michael Hansen
f93b37e152
Switch plFormat's accumulator to a plStringStream for better performance
11 years ago
Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
11 years ago
Michael Hansen
2c82cdf996
Fix for {.0f} precision in plFormat()
11 years ago
Michael Hansen
d15f1557b6
Implement plFormat for floating-point types
11 years ago
Michael Hansen
a53f425e38
Fixes for plFormat on GCC/Clang:
...
- int64_t is a typedef of long on Linux/x86_64 -- don't redefine its specialization
- Properly forward-declare the unspecialized variadic template form of _IFormat
11 years ago
Michael Hansen
2cb19d3308
Oops - bits parameter isn't actually used any more
11 years ago
Michael Hansen
b199cb5ff0
Add better documentation, and fix some floating point flag stuff
11 years ago
Michael Hansen
63557352f2
Add support for bool formatting
11 years ago
Michael Hansen
1baefdd0f2
Properly handle zero
11 years ago
Michael Hansen
3f92409a21
Provide implementations of most built-in types (excluding floating point)
11 years ago
Michael Hansen
ad5bef6671
Add framework for plFormat
11 years ago