|
IVS-calculator
|
Mathematical library for calculator project. More...

Go to the source code of this file.
Namespaces | |
| namespace | mathlib |
Enumerations | |
| enum | mathlib::MathError { mathlib::OK , mathlib::DIVISION_BY_ZERO , mathlib::NEGATIVE_FACTORIAL , mathlib::INVALID_ROOT , mathlib::INVALID_ARGUMENT } |
Functions | |
| double | mathlib::add (double a, double b) |
| Implementation of function add. | |
| double | mathlib::subtract (double a, double b) |
| Implementation of function subtract. | |
| double | mathlib::multiply (double a, double b) |
| Implementation of function multiply. | |
| double | mathlib::divide (double a, double b, MathError &err) |
| Implementation of function divide. | |
| double | mathlib::factorial (int a, MathError &err) |
| Implementation of function factorial. | |
| double | mathlib::power (double base, int exp) |
| Implementation of function power. | |
| double | mathlib::root (double base, int n, MathError &err) |
| Implementation of function root. | |
| double | mathlib::modulo (double a, double b, MathError &err) |
| Implementation of function modulo. | |
Mathematical library for calculator project.
Definition in file mathlib.h.