LibreOffice Module sc (master)  1
Namespaces | Functions
math.hxx File Reference
#include <formula/errorcodes.hxx>
#include <rtl/math.hxx>
Include dependency graph for math.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sc
 

Functions

double sc::div (const double &fNumerator, const double &fDenominator)
 Return fNumerator/fDenominator if fDenominator!=0 else #DIV/0! error coded into double. More...
 
double sc::divide (const double &fNumerator, const double &fDenominator)
 Return fNumerator/fDenominator if fDenominator!=0 else +-Infinity if fNumerator!=0 or NaN if fNumerator==0. More...
 
double sc::power (const double &fVal1, const double &fVal2)
 Return pow(fVal1,fVal2) with error handling. More...