Go to the documentation of this file.
23 #ifndef O2SCL_FORMAT_FLOAT_H
24 #define O2SCL_FORMAT_FLOAT_H
32 #include <o2scl/err_hnd.h>
33 #include <o2scl/misc.h>
34 #include <o2scl/string_conv.h>
36 #ifndef DOXYGEN_NO_O2NS
252 std::string
convert(
double x,
bool debug=
false);
355 if (
sig_fgs==0 || sig_figs>15) {
356 O2SCL_ERR2(
"Argument must be less than or equal to 15",
357 "in format_float::set_sig_figs().",
exc_einval);
481 #ifndef DOXYGEN_NO_O2NS
#define O2SCL_ERR2(d, d2, n)
Set an error, two-string version.
The main O<span style='position: relative; top: 0.3em; font-size: 0.8em'>2</span>scl O$_2$scl names...
@ exc_einval
invalid argument supplied by user
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).