Searched refs:to_double (Results 1 - 25 of 40) sorted by relevance

12

/gem5/src/systemc/tests/systemc/datatypes/int/misc/test03/
H A Dtest03.cpp16 TEST(BI(3,0).to_double())
21 TEST(I(3,0).to_double())
26 TEST(UI(3,0).to_double())
31 TEST(UBI(3,0).to_double())
/gem5/src/systemc/tests/systemc/datatypes/fx/ranges/
H A Drange_fx.cpp69 out << i << " " << d.to_double() << " " << x.to_double() << " " << x.to_string(SC_BIN, SC_E) << "\n"; \
85 out << i << " " << d.to_double() << " " << x.to_double() << " " << x.to_string(SC_BIN, SC_E) << "\n"; \
90 out << i << " " << d.to_double() << " " << x.to_double() << " " << x.to_string(SC_BIN, SC_E) << "\n"; \
105 out << i << " " << d.to_double() << " " << x.to_double() << " " << x.to_string(SC_BIN, SC_E) << "\n"; \
110 out << i << " " << d.to_double() << " " << x.to_double() << " " <<
[all...]
/gem5/src/systemc/tests/systemc/communication/sc_semaphore/test03/
H A Dtest_sem.cpp57 sc_time_stamp().to_double(), loop_counter);
62 sc_time_stamp().to_double(), sem_1.get_value());
78 sc_time_stamp().to_double());
/gem5/src/systemc/tests/systemc/misc/stars/star129901/
H A Dtest.cpp61 return fast.to_double();
/gem5/src/systemc/ext/core/
H A Dsc_time.hh68 double to_double() const;
129 operator sc_time() const { return sc_time(to_double(), _unit); }
131 double to_double() const; // Relative to the normalized unit.
/gem5/src/systemc/tests/systemc/datatypes/fx/constructors/
H A Darray.cpp64 operator double() const { return val.to_double(); }
75 cerr << name << "[" << i << "] : " << val.to_double() << " : " << val.to_string(SC_HEX) << "\n";
/gem5/src/systemc/tests/systemc/datatypes/fx/fast_constructors/
H A Darray.cpp65 operator double() const { return val.to_double(); }
76 cerr << name << "[" << i << "] : " << val.to_double() << " : " << val.to_string(SC_HEX) << "\n";
/gem5/src/systemc/tests/systemc/kernel/sc_time/test19/
H A Dtest19.cpp40 std::cout << "t.double=" << tp.to_double();
54 u = sc_time( tp.to_double(), tp.unit_symbol() );
/gem5/src/systemc/tests/systemc/examples/updown/
H A Dupdown.cpp121 (int)sc_time_stamp().to_double()/1000, (int)up, (int)down,
128 (int)sc_time_stamp().to_double()/1000, (int)up, (int)down,
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_time.h102 double to_double() const; // relative to the time resolution
190 sc_time::to_double() const // relative to the time resolution function in class:sc_core::sc_time
331 return ( t1.to_double() / t2.to_double() );
/gem5/src/systemc/core/
H A Dsc_time_python.cc52 .def("to_double", &sc_core::sc_time::to_double)
H A Dsc_time.cc123 sc_time::to_double() const function in class:sc_core::sc_time
130 return to_double() * SimClock::Float::Hz;
282 return t1.to_double() / t2.to_double();
446 double sc_time_tuple::to_double() const { return static_cast<double>(_value); } function in class:sc_core::sc_time_tuple
/gem5/src/systemc/tests/systemc/datatypes/fx/observers/
H A Dobservers.cpp61 std::cout << "to_double "; value.to_double();
/gem5/src/systemc/tests/systemc/datatypes/misc/test02/
H A Dtest02.cpp60 cout << a.to_double() << endl;
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxval.h374 double to_double() const;
708 double to_double() const;
826 #define DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp,a.to_double())
1347 return m_rep->to_double();
1358 return static_cast<short>( m_rep->to_double() );
1366 return static_cast<unsigned short>( m_rep->to_double() );
1374 return static_cast<int>( m_rep->to_double() );
1382 return static_cast<int64>( m_rep->to_double() );
1390 return static_cast<uint64>( m_rep->to_double() );
1398 return static_cast<long>( m_rep->to_double() );
1427 sc_fxval::to_double() const function in class:sc_dt::sc_fxval
2182 sc_fxval_fast::to_double() const function in class:sc_dt::sc_fxval_fast
[all...]
H A Dsc_fxnum.h895 double to_double() const;
1319 double to_double() const;
2618 #define DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp,a.to_double())
3424 return m_rep->to_double();
3435 return static_cast<short>( m_rep->to_double() );
3443 return static_cast<unsigned short>( m_rep->to_double() );
3451 return static_cast<int>( m_rep->to_double() );
3459 return static_cast<int64>( m_rep->to_double() );
3467 return static_cast<unsigned int>( m_rep->to_double() );
3475 return static_cast<uint64>( m_rep->to_double() );
3504 sc_fxnum::to_double() const function in class:sc_dt::sc_fxnum
4623 sc_fxnum_fast::to_double() const function in class:sc_dt::sc_fxnum_fast
[all...]
/gem5/src/systemc/tests/systemc/kernel/sc_time/test01/
H A Dtest01.cpp202 cout << t1.to_double() << endl;
208 cout << t2.to_double() << endl;
214 cout << t3.to_double() << endl;
/gem5/src/systemc/ext/dt/fx/
H A Dsc_fxval.hh322 double to_double() const;
605 double to_double() const;
695 #define DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp, a.to_double())
1144 return m_rep->to_double();
1208 return static_cast<float>(m_rep->to_double());
1212 sc_fxval::to_double() const function in class:sc_dt::sc_fxval
1215 return m_rep->to_double();
1345 #define DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp, a.to_double())
1870 sc_fxval_fast::to_double() const function in class:sc_dt::sc_fxval_fast
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_uint_base.h397 double to_double() const;
823 double to_double() const function in class:sc_dt::sc_uint_base
1076 sc_uint_subref_r::to_double() const function in class:sc_dt::sc_uint_subref_r
1079 return a.to_double();
H A Dsc_signed_subref.inc121 sc_signed_subref_r::to_double() const
124 return a.to_double();
H A Dsc_unsigned_subref.inc122 sc_unsigned_subref_r::to_double() const
125 return a.to_double();
/gem5/src/systemc/ext/dt/int/
H A Dsc_uint_base.hh342 double to_double() const;
841 double to_double() const { return uint64_to_double(m_val); } function in class:sc_dt::sc_uint_base
1040 sc_uint_subref_r::to_double() const function in class:sc_dt::sc_uint_subref_r
1043 return a.to_double();
/gem5/ext/systemc/src/sysc/datatypes/misc/
H A Dsc_concatref.h275 double to_double() const function in class:sc_dt::sc_concatref
276 { return value().to_double(); }
/gem5/src/systemc/dt/int/
H A Dsc_signed_subref.inc122 sc_signed_subref_r::to_double() const
125 return a.to_double();
H A Dsc_unsigned_subref.inc122 sc_unsigned_subref_r::to_double() const
125 return a.to_double();

Completed in 46 milliseconds

12