|
LibreOffice Module connectivity (master) 1
|
SIGN(X) Returns the sign of the argument as -1, 0, or 1, depending on whether X is negative, zero, or positive: More...
#include <FNumericFunctions.hxx>
Protected Member Functions | |
| virtual ORowSetValue | operate (const ORowSetValue &lhs) const override |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::OUnaryOperator | |
| virtual void | Exec (OCodeStack &) override |
| virtual ORowSetValue | operate (const ORowSetValue &lhs) const =0 |
| 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 |
SIGN(X) Returns the sign of the argument as -1, 0, or 1, depending on whether X is negative, zero, or positive:
SELECT SIGN(-32); -> -1 SELECT SIGN(0); -> 0 SELECT SIGN(234); -> 1
Definition at line 52 of file FNumericFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OUnaryOperator.
Definition at line 40 of file FNumericFunctions.cxx.
References connectivity::ORowSetValue::getDouble(), and connectivity::ORowSetValue::isNull().