libpniio
|
policy for real numbers More...
#include <float_policy.hpp>
Static Public Member Functions | |
static int | floatfield (T) |
use scientific format by default More... | |
static int | precision (T) |
set output to full number precision More... | |
Formatting policy for real numbers. The current policy differs from the C++ default in two ways
The idea behind this policy is to avoid accidental truncations of floating point numbers during ASCII output. This policy is used in all cases where a floating point type should be converted to a character string.
T | floating point type |
|
inlinestatic |
|
inlinestatic |