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
invalid argument supplied by user
#define O2SCL_ERR2(d, d2, n)
Set an error, two-string version.