|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Basic arithmetic operations for the calculator. More...
Functions | |
| double | add (double a, double b) |
| double | sub (double a, double b) |
| double | mul (double a, double b) |
| double | div (double a, double b) |
| double | mod (double a, double b) |
| double | pow (double a, double b) |
Basic arithmetic operations for the calculator.
| double Calculator::add | ( | double | a, |
| double | b | ||
| ) |
Definition at line 131 of file dispatcher_example.C.
Referenced by demo_calculator(), TEST_F(), TEST_F(), and TEST_F().
| double Calculator::div | ( | double | a, |
| double | b | ||
| ) |
Definition at line 134 of file dispatcher_example.C.
Referenced by demo_calculator().
| double Calculator::mod | ( | double | a, |
| double | b | ||
| ) |
Definition at line 139 of file dispatcher_example.C.
Referenced by demo_calculator().
| double Calculator::mul | ( | double | a, |
| double | b | ||
| ) |
Definition at line 133 of file dispatcher_example.C.
Referenced by demo_calculator().
| double Calculator::pow | ( | double | a, |
| double | b | ||
| ) |
Definition at line 143 of file dispatcher_example.C.
Referenced by demo_calculator().
| double Calculator::sub | ( | double | a, |
| double | b | ||
| ) |
Definition at line 132 of file dispatcher_example.C.
Referenced by demo_calculator().