Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Calculator Namespace Reference

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)
 

Detailed Description

Basic arithmetic operations for the calculator.

Function Documentation

◆ add()

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().

◆ div()

double Calculator::div ( double  a,
double  b 
)

Definition at line 134 of file dispatcher_example.C.

Referenced by demo_calculator().

◆ mod()

double Calculator::mod ( double  a,
double  b 
)

Definition at line 139 of file dispatcher_example.C.

Referenced by demo_calculator().

◆ mul()

double Calculator::mul ( double  a,
double  b 
)

Definition at line 133 of file dispatcher_example.C.

Referenced by demo_calculator().

◆ pow()

double Calculator::pow ( double  a,
double  b 
)

Definition at line 143 of file dispatcher_example.C.

Referenced by demo_calculator().

◆ sub()

double Calculator::sub ( double  a,
double  b 
)

Definition at line 132 of file dispatcher_example.C.

Referenced by demo_calculator().