|
@@ -25,9 +25,7 @@ ABS(numeric_exp) <1>
|
|
|
|
|
|
*Output*: numeric
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Absolute_value[absolute value] of `numeric_exp`. The return type is the same as the input type.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Absolute_value[absolute value] of `numeric_exp`. The return type is the same as the input type.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -49,9 +47,7 @@ CBRT(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Cube_root[cube root] of `numeric_exp`.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Cube_root[cube root] of `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -73,9 +69,7 @@ CEIL(numeric_exp) <1>
|
|
|
|
|
|
*Output*: integer or long numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the smallest integer greater than or equal to `numeric_exp`.
|
|
|
+*Description*: Returns the smallest integer greater than or equal to `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -95,9 +89,7 @@ E()
|
|
|
|
|
|
*Output*: `2.718281828459045`
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns https://en.wikipedia.org/wiki/E_%28mathematical_constant%29[Euler's number].
|
|
|
+*Description*: Returns https://en.wikipedia.org/wiki/E_%28mathematical_constant%29[Euler's number].
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -119,9 +111,7 @@ EXP(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns https://en.wikipedia.org/wiki/Exponential_function[Euler's number at the power] of `numeric_exp` e^numeric_exp^.
|
|
|
+*Description*: Returns https://en.wikipedia.org/wiki/Exponential_function[Euler's number at the power] of `numeric_exp` e^numeric_exp^.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -143,9 +133,7 @@ EXPM1(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#expm1-double-[Euler's number at the power] of `numeric_exp` minus 1 (e^numeric_exp^ - 1).
|
|
|
+*Description*: Returns https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#expm1-double-[Euler's number at the power] of `numeric_exp` minus 1 (e^numeric_exp^ - 1).
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -167,9 +155,7 @@ FLOOR(numeric_exp) <1>
|
|
|
|
|
|
*Output*: integer or long numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the largest integer less than or equal to `numeric_exp`.
|
|
|
+*Description*: Returns the largest integer less than or equal to `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -191,9 +177,7 @@ LOG(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Natural_logarithm[natural logarithm] of `numeric_exp`.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Natural_logarithm[natural logarithm] of `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -215,9 +199,7 @@ LOG10(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Common_logarithm[base 10 logarithm] of `numeric_exp`.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Common_logarithm[base 10 logarithm] of `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -237,9 +219,7 @@ PI()
|
|
|
|
|
|
*Output*: `3.141592653589793`
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns https://en.wikipedia.org/wiki/Pi[PI number].
|
|
|
+*Description*: Returns https://en.wikipedia.org/wiki/Pi[PI number].
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -264,9 +244,7 @@ POWER(
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the value of `numeric_exp` to the power of `integer_exp`.
|
|
|
+*Description*: Returns the value of `numeric_exp` to the power of `integer_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -293,9 +271,7 @@ RANDOM(seed) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns a random double using the given seed.
|
|
|
+*Description*: Returns a random double using the given seed.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -319,8 +295,7 @@ ROUND(
|
|
|
|
|
|
*Output*: numeric
|
|
|
|
|
|
-.Description:
|
|
|
-Returns `numeric_exp` rounded to `integer_exp` places right of the decimal point. If `integer_exp` is negative,
|
|
|
+*Description*: Returns `numeric_exp` rounded to `integer_exp` places right of the decimal point. If `integer_exp` is negative,
|
|
|
`numeric_exp` is rounded to |`integer_exp`| places to the left of the decimal point. If `integer_exp` is omitted,
|
|
|
the function will perform as if `integer_exp` would be 0. The returned numeric data type is the same as the data type
|
|
|
of `numeric_exp`.
|
|
@@ -350,9 +325,7 @@ SIGN(numeric_exp) <1>
|
|
|
|
|
|
*Output*: [-1, 0, 1]
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns an indicator of the sign of `numeric_exp`. If `numeric_exp` is less than zero, –1 is returned. If `numeric_exp` equals zero, 0 is returned. If `numeric_exp` is greater than zero, 1 is returned.
|
|
|
+*Description*: Returns an indicator of the sign of `numeric_exp`. If `numeric_exp` is less than zero, –1 is returned. If `numeric_exp` equals zero, 0 is returned. If `numeric_exp` is greater than zero, 1 is returned.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -375,9 +348,7 @@ SQRT(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns https://en.wikipedia.org/wiki/Square_root[square root] of `numeric_exp`.
|
|
|
+*Description*: Returns https://en.wikipedia.org/wiki/Square_root[square root] of `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -401,8 +372,7 @@ TRUNCATE(
|
|
|
|
|
|
*Output*: numeric
|
|
|
|
|
|
-.Description:
|
|
|
-Returns `numeric_exp` truncated to `integer_exp` places right of the decimal point. If `integer_exp` is negative,
|
|
|
+*Description*: Returns `numeric_exp` truncated to `integer_exp` places right of the decimal point. If `integer_exp` is negative,
|
|
|
`numeric_exp` is truncated to |`integer_exp`| places to the left of the decimal point. If `integer_exp` is omitted,
|
|
|
the function will perform as if `integer_exp` would be 0. The returned numeric data type is the same as the data type
|
|
|
of `numeric_exp`.
|
|
@@ -436,9 +406,7 @@ ACOS(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[arccosine] of `numeric_exp` as an angle, expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[arccosine] of `numeric_exp` as an angle, expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -460,9 +428,7 @@ ASIN(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[arcsine] of `numeric_exp` as an angle, expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[arcsine] of `numeric_exp` as an angle, expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -484,9 +450,7 @@ ATAN(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[arctangent] of `numeric_exp` as an angle, expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[arctangent] of `numeric_exp` as an angle, expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -511,9 +475,7 @@ ATAN2(
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Atan2[arctangent of the `ordinate` and `abscisa` coordinates] specified as an angle, expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Atan2[arctangent of the `ordinate` and `abscisa` coordinates] specified as an angle, expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -535,9 +497,7 @@ COS(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#cosine[cosine] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#cosine[cosine] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -559,9 +519,7 @@ COSH(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Hyperbolic_function[hyperbolic cosine] of `numeric_exp`.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Hyperbolic_function[hyperbolic cosine] of `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -583,9 +541,7 @@ COT(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#Cosecant,_secant,_and_cotangent[cotangent] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#Cosecant,_secant,_and_cotangent[cotangent] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -607,9 +563,7 @@ DEGREES(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Convert from https://en.wikipedia.org/wiki/Radian[radians]
|
|
|
+*Description*: Convert from https://en.wikipedia.org/wiki/Radian[radians]
|
|
|
to https://en.wikipedia.org/wiki/Degree_(angle)[degrees].
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
@@ -632,9 +586,7 @@ RADIANS(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Convert from https://en.wikipedia.org/wiki/Degree_(angle)[degrees]
|
|
|
+*Description*: Convert from https://en.wikipedia.org/wiki/Degree_(angle)[degrees]
|
|
|
to https://en.wikipedia.org/wiki/Radian[radians].
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
@@ -657,9 +609,7 @@ SIN(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#sine[sine] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#sine[sine] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -681,9 +631,7 @@ SINH(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Hyperbolic_function[hyperbolic sine] of `numeric_exp`.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Hyperbolic_function[hyperbolic sine] of `numeric_exp`.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|
|
@@ -705,9 +653,7 @@ TAN(numeric_exp) <1>
|
|
|
|
|
|
*Output*: double numeric value
|
|
|
|
|
|
-.Description:
|
|
|
-
|
|
|
-Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#tangent[tangent] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
+*Description*: Returns the https://en.wikipedia.org/wiki/Trigonometric_functions#tangent[tangent] of `numeric_exp`, where `numeric_exp` is an angle expressed in radians.
|
|
|
|
|
|
["source","sql",subs="attributes,macros"]
|
|
|
--------------------------------------------------
|