Searched refs:OpSearch (Results 1 - 2 of 2) sorted by relevance
/gem5/src/sim/ |
H A D | mathexpr.cc | 51 std::array<OpSearch, uNeg + 1> {{ 52 OpSearch {true, bAdd, 0, '+', [](double a, double b) { return a + b; }}, 53 OpSearch {true, bSub, 0, '-', [](double a, double b) { return a - b; }}, 54 OpSearch {true, bMul, 1, '*', [](double a, double b) { return a * b; }}, 55 OpSearch {true, bDiv, 1, '/', [](double a, double b) { return a / b; }}, 56 OpSearch {false,uNeg, 2, '-', [](double a, double b) { return -b; }}, 57 OpSearch {true, bPow, 3, '^', [](double a, double b) {
|
H A D | mathexpr.hh | 79 struct OpSearch { struct in class:MathExpr 88 std::array<OpSearch, uNeg + 1> ops;
|
Completed in 5 milliseconds