LibreOffice Module connectivity (master) 1
|
ATAN2(Y,X) Returns the arc tangent of the two variables X and Y. More...
#include <FNumericFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const override |
virtual ORowSetValue | operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const =0 |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::OBinaryOperator | |
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 |
ATAN2(Y,X) Returns the arc tangent of the two variables X and Y.
It is similar to calculating the arc tangent of Y / X, except that the signs of both arguments are used to determine the quadrant of the result:
SELECT ATAN2(-2,2); -> -0.785398 SELECT ATAN2(PI(),0); -> 1.570796
Definition at line 329 of file FNumericFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OBinaryOperator.
Definition at line 215 of file FNumericFunctions.cxx.
References connectivity::ORowSetValue::getDouble(), and connectivity::ORowSetValue::isNull().