Auxiliary data structure for floating point format specification.
More...
#include <JPrint.hh>
Auxiliary data structure for floating point format specification.
Definition at line 518 of file JPrint.hh.
◆ SCIENTIFIC()
SCIENTIFIC::SCIENTIFIC |
( |
const int |
width, |
|
|
const int |
precision |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
width | width |
precision | precision |
Definition at line 527 of file JPrint.hh.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const SCIENTIFIC & |
format |
|
) |
| |
|
friend |
Format specifier.
- Parameters
-
out | output stream |
format | format |
- Returns
- output stream
Definition at line 541 of file JPrint.hh.
545 return out << scientific << right << setw(format.
width) << setprecision(format.
precision);
◆ precision
int SCIENTIFIC::precision |
◆ width
The documentation for this struct was generated from the following file: