|
|
@ -39,6 +39,7 @@ double tangentFunction(double angle) { |
|
|
|
return tan(angle * M_PI / 180.0); |
|
|
|
} |
|
|
|
|
|
|
|
//.. |
|
|
|
// Logarithmic functions |
|
|
|
double logarithmFunction(double x) { |
|
|
|
// Logarithm with base 10 |
|
|
@ -50,7 +51,10 @@ double naturalLogarithmFunction(double x) { |
|
|
|
return log(x); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
double logarithmBase2Function(double x) { |
|
|
|
// Logarithm with base 2 |
|
|
|
return log2(x); |
|
|
|
} |
|
|
|
|
|
|
|
// scientificmode |
|
|
|
int scientificMode(){ |
|
|
|