T-SIMD v31.1.0
A C++ template SIMD library
|
Class for formatting SIMD types as decimal numbers. More...
Class for formatting SIMD types as decimal numbers.
T | type to format |
Public Member Functions | |
Decimal (T value, int fieldWidth=-1, int precision=-1) | |
Constructor. | |
Public Attributes | |
char | str [256] |
The formatted string. | |
|
inline |
Constructor.
value | value to format |
fieldWidth | field width (e.g. 4 for "%4d") |
precision | precision (e.g. 2 for "%.2f") |