Searched refs:sc_abs (Results 1 - 7 of 7) sorted by relevance

/gem5/src/systemc/tests/systemc/kernel/sc_macros/test01/
H A Dtest01.cpp38 // test of sc_abs<T> for all SystemC arithmetic datatypes
53 cout << sc_abs( a ) << endl;
55 cout << sc_abs( a ) << endl;
63 cout << sc_abs( a ) << endl;
65 cout << sc_abs( a ) << endl;
73 cout << sc_abs( a ) << endl;
75 cout << sc_abs( a ) << endl;
83 cout << sc_abs( a ) << endl;
85 cout << sc_abs( a ) << endl;
93 cout << sc_abs(
[all...]
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_macros.h55 sc_abs( const T& a ) function in namespace:sc_dt
/gem5/src/systemc/ext/utils/
H A Dfunctions.hh40 sc_abs(const T &a) function in namespace:sc_dt
H A D_using.hh85 using sc_dt::sc_abs;
/gem5/src/systemc/tests/systemc/compliance_1666/test228/
H A Dtest228.cpp44 sc_assert(sc_abs(-1) == 1);
/gem5/src/systemc/tests/systemc/compliance_1666/test00/
H A Dtest00.cpp45 using sc_dt::sc_abs;
319 sc_assert(sc_abs(-1) == 1);
323 sc_assert(sc_abs(sc_int<8>(-1)) == sc_int<8>(1));
327 sc_assert(sc_abs(sc_bigint<256>(-1)) == sc_bigint<256>(1));
/gem5/ext/systemc/src/
H A Dsystemc.h231 using sc_dt::sc_abs;

Completed in 9 milliseconds