Lines Matching refs:fmt
86 sc_fxval::to_string(sc_fmt fmt) const
88 return std::string(m_rep->to_string(SC_DEC, -1, fmt));
92 sc_fxval::to_string(sc_numrep numrep, sc_fmt fmt) const
94 return std::string(m_rep->to_string(numrep, -1, fmt));
98 sc_fxval::to_string(sc_numrep numrep, bool w_prefix, sc_fmt fmt) const
100 return std::string(m_rep->to_string(numrep, (w_prefix ? 1 : 0), fmt));
183 print_dec(scfx_string &s, scfx_ieee_double id, int w_prefix, sc_fmt fmt)
215 bool zero_digits = (frac_part == 0.0 && fmt != SC_F);
248 bool zero_digits = (int_digits == 0 && fmt != SC_F);
281 if (fmt != SC_F) {
291 int w_prefix, sc_fmt fmt, const scfx_params *params)
398 if (fmt == SC_F) {
424 if (lsb > 0 && fmt == SC_F) {
432 if (fmt != SC_F) {
445 sc_fmt fmt, const scfx_params *params=0)
461 sc_dt::print_dec(s, id, w_prefix, fmt);
463 sc_dt::print_other(s, id, numrep, w_prefix, fmt, params);
491 sc_fxval_fast::to_string(sc_fmt fmt) const
493 return std::string(sc_dt::to_string(m_val, SC_DEC, -1, fmt));
497 sc_fxval_fast::to_string(sc_numrep numrep, sc_fmt fmt) const
499 return std::string(sc_dt::to_string(m_val, numrep, -1, fmt));
503 sc_fxval_fast::to_string(sc_numrep numrep, bool w_prefix, sc_fmt fmt) const
506 fmt));