#include "mathlib.h"
#include <cmath>
Go to the source code of this file.
|
| 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.
|
| |