/gem5/src/systemc/tests/systemc/datatypes/int/misc/test03/ |
H A D | test03.cpp | 16 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 D | range_fx.cpp | 69 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 D | test_sem.cpp | 57 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 D | test.cpp | 61 return fast.to_double();
|
/gem5/src/systemc/ext/core/ |
H A D | sc_time.hh | 68 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 D | array.cpp | 64 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 D | array.cpp | 65 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 D | test19.cpp | 40 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 D | updown.cpp | 121 (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 D | sc_time.h | 102 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 D | sc_time_python.cc | 52 .def("to_double", &sc_core::sc_time::to_double)
|
H A D | sc_time.cc | 123 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 D | observers.cpp | 61 std::cout << "to_double "; value.to_double();
|
/gem5/src/systemc/tests/systemc/datatypes/misc/test02/ |
H A D | test02.cpp | 60 cout << a.to_double() << endl;
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxval.h | 374 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 D | sc_fxnum.h | 895 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 D | test01.cpp | 202 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 D | sc_fxval.hh | 322 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 D | sc_uint_base.h | 397 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 D | sc_signed_subref.inc | 121 sc_signed_subref_r::to_double() const 124 return a.to_double();
|
H A D | sc_unsigned_subref.inc | 122 sc_unsigned_subref_r::to_double() const 125 return a.to_double();
|
/gem5/src/systemc/ext/dt/int/ |
H A D | sc_uint_base.hh | 342 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 D | sc_concatref.h | 275 double to_double() const function in class:sc_dt::sc_concatref 276 { return value().to_double(); }
|
/gem5/src/systemc/dt/int/ |
H A D | sc_signed_subref.inc | 122 sc_signed_subref_r::to_double() const 125 return a.to_double();
|
H A D | sc_unsigned_subref.inc | 122 sc_unsigned_subref_r::to_double() const 125 return a.to_double();
|