Functions
for constants: Numeric Constants |
|
from |
|
substitutable
with
PI |
F_PI |
function from adhoc
input/output-compatibility to rFunc
(PI)
|
Entrypoint
|
pi |
compatible
with UTF-8 |
Input |
nothing
|
|
Output |
DOUBLE |
Circle Pi |
TestSQL
SELECT CAST(3.141592653589793 AS DOUBLE PRECISION) AS ISCORRECT,
F_PI() FROM RDB$DATABASE; |
|
F_E |
function from adhoc
input/output-compatibility to rFunc
(E)
|
Entrypoint
|
euler |
compatible
with UTF-8 |
Input |
nothing
|
|
Output |
DOUBLE |
Eulernumber
e |
TestSQL
SELECT 2.718281828459045 AS ISCORRECT, F_E() FROM RDB$DATABASE; |
|
F_EPSILON |
function from adhoc
|
Entrypoint
|
euler |
compatible
with UTF-8 |
Input |
nothing
|
|
Output |
DOUBLE |
number
epsilon (as a very small number to check against epsilon instead of
0) |
TestSQL
SELECT CAST(2.2204460492503131e-14 AS DOUBLE PRECISION) AS
ISCORRECT, F_EPSILON() FROM RDB$DATABASE; |
|