LibreOffice Module sc (master) 1
Namespaces | Functions
math.hxx File Reference
#include <formula/errorcodes.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

namespace  sc
 CAUTION! The following defines must be in the same namespace as the respective type.
 

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