23 #if ! defined (octave_pr_flt_fmt_h) 24 #define octave_pr_flt_fmt_h 1 26 #include "octave-config.h" 50 : fw (
w), ex (0), prec (
p), fmt (
f), up (0), sp (0) { }
53 : fw (
w), ex (
e), prec (
p), fmt (
f), up (0), sp (0) { }
63 fmt = std::ios::scientific;
69 fmt = std::ios::fixed;
81 up = std::ios::uppercase;
106 sp = (tz ? std::ios::showpoint : 0);
110 template <
typename T>
112 operator << (std::ostream& os, const pr_engineering_float<T>& pef);
114 template <
typename T>
116 operator << (std::ostream& os, const pr_formatted_float<T>& pff);
118 template <
typename T>
120 operator << (std::ostream& os, const pr_rational_float<T>& prf);
150 : m_scale (
scale), m_real_fmt (real_fmt), m_imag_fmt (imag_fmt)
155 : m_scale (1.0), m_real_fmt (real_fmt), m_imag_fmt (imag_fmt)
172 m_real_fmt.prec = prec;
173 m_imag_fmt.prec = prec;
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
void set_output_prec(int prec)
std::complex< double > w(std::complex< double > z, double relerr=0)
int output_precision(void)
void scale(Matrix &m, double x, double y, double z)