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);
280 sci_suffx=sci_suffix;
286 exp_prefx=exp_prefix;
292 exp_suffx=exp_suffix;
334 not_finte=not_finite;
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
The main O<span style='position: relative; top: 0.3em; font-size: 0.8em'>2</span>scl O$_2$scl names...
invalid argument supplied by user
#define O2SCL_ERR2(d, d2, n)
Set an error, two-string version.