LibreOffice Module connectivity (master) 1
|
LOG(X) LOG(B,X) If called with one parameter, this function returns the natural logarithm of X: More...
#include <FNumericFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const std::vector< ORowSetValue > &lhs) const override |
virtual ORowSetValue | operate (const std::vector< ORowSetValue > &lhs) const =0 |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::ONthOperator | |
virtual void | Exec (OCodeStack &) override |
virtual void | Exec (OCodeStack &)=0 |
Public Member Functions inherited from connectivity::file::OCode | |
virtual | ~OCode () |
OCode (OCode &&)=default | |
OCode (const OCode &)=default | |
OCode ()=default | |
OCode & | operator= (const OCode &)=default |
OCode & | operator= (OCode &&)=default |
LOG(X) LOG(B,X) If called with one parameter, this function returns the natural logarithm of X:
SELECT LOG(2); -> 0.693147 SELECT LOG(-2); -> NULL
If called with two parameters, this function returns the logarithm of X for an arbitrary base B:
SELECT LOG(2,65536); -> 16.000000 SELECT LOG(1,100); -> NULL
Definition at line 175 of file FNumericFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::ONthOperator.
Definition at line 115 of file FNumericFunctions.cxx.
References getDouble(), and log.