Lines Matching refs:id
183 print_dec(scfx_string &s, scfx_ieee_double id, int w_prefix, sc_fmt fmt)
185 if (id.negative() != 0) {
186 id.negative(0);
194 if (id.is_zero()) {
199 // split 'id' into its integer and fractional part
201 double frac_part = std::modf(static_cast<double>(id), &int_part);
290 print_other(scfx_string &s, const scfx_ieee_double &id, sc_numrep numrep,
293 scfx_ieee_double id2 = id;
444 to_string(const scfx_ieee_double &id, sc_numrep numrep, int w_prefix,
451 if (id.is_nan()) {
453 } else if (id.is_inf()) {
454 scfx_print_inf(s, static_cast<bool>(id.negative()));
455 } else if (id.negative() && !id.is_zero() &&
461 sc_dt::print_dec(s, id, w_prefix, fmt);
463 sc_dt::print_other(s, id, numrep, w_prefix, fmt, params);
571 scfx_ieee_double id(m_val);
572 if (id.is_zero() || id.is_nan() || id.is_inf())
576 unsigned int m0 = id.mantissa0();
577 unsigned int m1 = id.mantissa1();
579 if (id.is_normal())
582 if (id.negative() != 0) {
592 int j = i - id.exponent();