doc-exports/docs/dli/sqlreference/dli_08_0065.html
Su, Xiaomeng 76a5b1ee83 dli_sqlreference_20240227
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2024-03-27 22:02:33 +00:00

325 lines
42 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="dli_08_0065"></a><a name="dli_08_0065"></a>
<h1 class="topictitle1">Overview</h1>
<div id="body8662426"><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796834_en-us_topic_0093946912_a4eb9a9b304ea448e951ef2c47f18f371"><a href="#dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_tc34108cf99e7402698bbe9c2e4a17d7b">Table 1</a> lists the mathematical functions supported by DLI.</p>
<div class="tablenoborder"><a name="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_tc34108cf99e7402698bbe9c2e4a17d7b"></a><a name="en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_tc34108cf99e7402698bbe9c2e4a17d7b"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_tc34108cf99e7402698bbe9c2e4a17d7b" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Mathematical functions</caption><thead align="left"><tr id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_r847303d8539b4713a6e3ad216555331a"><th align="left" class="cellrowborder" valign="top" width="25.248702422145332%" id="mcps1.3.2.2.4.1.1"><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796834_en-us_topic_0093946912_abfe0d47e35bc4affa014a47155c9bb56">Syntax</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.484429065743942%" id="mcps1.3.2.2.4.1.2"><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796834_en-us_topic_0093946912_ac683ec8a51644d5594e147e17be71eb8">Value Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="59.266868512110726%" id="mcps1.3.2.2.4.1.3"><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796834_en-us_topic_0093946912_a511f207accc748b390d97221bc2d70b5">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_08_0065__en-us_topic_0000001704193417_row03111326340"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a99216ae1a89141ae9e80a7306e7d9435">abs(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ab54941d9c6f542349ff6e54d972638d9">DOUBLE or INT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a28f2133b55864c2ea6df67194a7af288">Returns the absolute value.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row5311122618411"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a3368923806fc49bda884c822c606a97a">acos(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a97baedddb69a4d0f8cde5f704d9bc0ad">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a4be20b7c539a40c8945109c59ee01e39">Returns the arc cosine value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b96636718422">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row43125264416"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ab5a247eb8e3c400783ad36483bfd3db3">asin(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ad32ff5a09234497b9067666366f9d51f">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a338314485d824cd9a9b4524a6a3ae819">Returns the arc sine value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b636761954211">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row16312192619410"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ae482b20a7ff24ff0a5a9fc16deeedadc">atan(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a49bb0a9256b84cfe95767567af453220">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aece52887f0c24e288ede0c39f9e666e7">Returns the arc tangent value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b236333612422">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row731212268416"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ac4fe6252a31340e495fecbb2675c4154">bin(BIGINT a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a1269a56854e0434f8edc13659c95a452">STRING</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aeeece2a02b8c4b459eb602216da7aae8">Returns a number in binary format.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row031272616410"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a29951d58d3cc430f9227926d076189c4">bround(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_acbfe7f111e474316b94c42c054086319">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_abbe447c56dde4664b8fbfe6df3130497">In HALF_EVEN rounding, the digit 5 is rounded up if the digit before 5 is an odd number and rounded down if the digit before 5 is an even number. For example, bround(7.5) = 8.0, bround(6.5) = 6.0.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row143691028151510"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a14365e212905408eb6b6b1a2d55647ce">bround(DOUBLE a, INT d)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a6b5d77e11f1444e3991b713605e93d29">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_abcc93138128b4b43b8bf6e00d62054f9">The value is rounded off to d decimal places in HALF_EVEN mode. The digit 5 is rounded up if the digit before 5 is an odd number and rounded down if the digit before 5 is an even number. For example, bround(8.25, 1) = 8.2, bround(8.35, 1) = 8.4.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1731215261541"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aff6acd27cf3a4ee58f67dc3159335a07">cbrt(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_afcd61a5fd0ef43d89a9c861049c98ee9">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a6cd21b04c0d64c2a8b236e18595c1941">Returns the cube root of <strong id="dli_08_0065__en-us_topic_0000001704193417_b73561432141218">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row4312426248"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a5a6ea65b67684559932217164555d99f">ceil(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ad255a4efcde84d7facafabe62aac2b89">DECIMAL</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ab874f07d3a7d4f2994545a53e2bdf5b3">Returns the smallest integer that is greater than or equal to <strong id="dli_08_0065__en-us_topic_0000001704193417_b1599718416120">a</strong>. For example, ceil(21.2) = 22.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row173121261744"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a17ca82b89a544f06b1fd33f1d739bd3d">conv(BIGINT num, INT from_base, INT to_base), conv(STRING num, INT from_base, INT to_base)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a7dbe04e7117349f181a18f77052631c8">STRING</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aaca3db598d4f4a9abb582a7e281c1be5">Converts a number from <strong id="dli_08_0065__en-us_topic_0000001704193417_b4857121617136">from_base</strong> to <strong id="dli_08_0065__en-us_topic_0000001704193417_b15858216171314">to_base</strong>. For example, convert 5 from decimal to quaternary using conv(5,10,4) = 11.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row73121261416"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a3047327003c84d8588af078de06f83ec">cos(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aa813807dbc674320b058944e5f99938e">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a28e3aec1814b409dab24569e613e1c9d">Returns the cosine value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b152610471610">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row231214261412"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p214210450191">cot1(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p18142144511197">DOUBLE or DECIMAL</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p6142114541916">Returns the cotangent of a specified radian value.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1131216261414"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a9f840c2bf2c34aa6bcc3f96bcd6f06e2">degrees(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_acf3d5cafc5e44b58bd422f4abf3e748d">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ab3f604392bf942f7a42becc2988ff768">Returns the angle corresponding to the radian.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1435243917914"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a29e5739781744c63a8647a7cb0e11ef5">e()</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a3d3f9b2f95c04d79bd756000083532a2">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_af6b69d5d3a974dfaa9e740e10bfd34a0">Returns the value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b608365167">e</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1635212392913"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ad266419476d144c59f124aa7e772dc55">exp(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a00198f95e214463aafa2f7910f3978d0">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a555096501d034846a40d830b5754fbf3">Returns the value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b1483083191715">e</strong> raised to the power of <strong id="dli_08_0065__en-us_topic_0000001704193417_b3763345161618">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1035214397919"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_adf974b06e64b4a3c969cd1607f22715a">factorial(INT a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aa92f81a313764ec2828917fd60d77789">BIGINT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ac9f578e79d3047618e66c05298339aa3">Returns the factorial of <strong id="dli_08_0065__en-us_topic_0000001704193417_b132301811151714">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row17352239495"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ace8eca6acbab4f4091d930e0edf68fdb">floor(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a21fca0e7a2814abeaea3d2c225450a00">BIGINT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a8c4457ec4c2241069ddf1e9f0e207154">Returns the largest integer that is less than or equal to A. For example, floor(21.2) = 21.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row6352103918910"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a069adfde99f04b40be7d3cdb8d9565bf">greatest(T v1, T v2, ...)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a35e6d6e979464d269ee9872dcd826e88">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a38629e9590c04471ab136c099403371e">Returns the greatest value of a list of values.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1935215391591"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a37c004c97b964245aaf984d2506611b1">hex(BIGINT a) hex(STRING a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ab7c61fae6b034f9584f9942dbe1fd768">STRING</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ad5e86370848f495681068f650cd068da">Converts an integer or character into its hexadecimal representation.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row17352183916914"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a0cb4a84021cd4dc0810fac2371306e9f">least(T v1, T v2, ...)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a1e3207a65f0943d7ba7b0088f257b2ab">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a3aff8d4b26e5489dacbc67ba80029a74">Returns the least value of a list of values.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row10352123913919"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a512adfc8f0984fea8c8debd9e5d67a9c">ln(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ab9e0122db4fa49adb0327a7914964c26">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a5d7c25dbe3e246ea885b529e49157da5">Returns the natural logarithm of a given value.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row6352239892"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a9fc3a4d588fe437d98ab39f1f32ff332">log(DOUBLE base, DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a0fb08740f9d04e41a60545ee637e8859">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a6acf668cea624b8f83d925d908afbffd">Returns the natural logarithm of a given base and exponent.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row05801101129"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ac02ff6a49cd948748595a54be1142059">log10(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_abb67ed76942241f586d0aebe07aa7489">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a510064fa464146cdbc4a639cc0bddb6e">Returns the base-10 logarithm of a given value.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row15580181020129"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_acfe0e0882be4456bb057cca699b9009a">log2(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a52409be7f3fe41cd827d5079c719c8ce">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_acef42b47a42946779ad097a31c55b335">Returns the base-2 logarithm of a given value.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1458114108125"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_p191151240132418">median(colname)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p10752124464619">DOUBLE or DECIMAL</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p1675215447464">Returns the median.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row13581201010126"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_p2047141352511">negative(INT a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a009898d0203e4fe585209cef6af39562">DECIMAL or INT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a87ee87b852ff47afb2d48527e5afb6e7">Returns the opposite number of <strong id="dli_08_0065__en-us_topic_0000001704193417_b157171513226">a</strong>. For example, if negative(2) is given, <strong id="dli_08_0065__en-us_topic_0000001704193417_b181021040112215">2</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row10194514151612"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_p201241851112614">percentile(colname,DOUBLE p)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p1346720163451">DOUBLE or ARRAY</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p146715164451">Returns the exact percentile, which is applicable to a small amount of data. Sorts a specified column in ascending order, and then obtains the exact pth percentage. The value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b19154201752315">p</strong> must be between 0 and 1.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1050051716169"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_p15720105202715">percentile_approx (colname,DOUBLE p)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p3141132193014">DOUBLE or ARRAY</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_p7141432173017">Returns the approximate percentile, which is applicable to a large amount of data. Sorts a specified column in ascending order, and then obtains the value corresponding to the pth percentile.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row115008170163"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a824b0f39b637492f884b4da893c65860">pi()</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a02ddf689fb894db2af2d78e6e9af693d">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a4ee5437e020346fa90fa4a9b68c366e0">Returns the value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b293014395233">pi</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row750012173164"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_p7150412122910">pmod(INT a, INT b)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aca88b6c0386149888542ffba24da6835">DECIMAL or INT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a5e5fef7374e742f4957fef8d27e7b5df">Returns the positive value of the remainder after division of <strong id="dli_08_0065__en-us_topic_0000001704193417_b15026262411">x</strong> by <strong id="dli_08_0065__en-us_topic_0000001704193417_b2503425243">y</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row6581610151213"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a29c98edf30704790a89e0f4331290472">positive(INT a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_p6221943154710">DECIMAL, DOUBLE, or INT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ad13a128fbfc74c53b010afb5c6860705">Returns the value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b17551130132418">a</strong>, for example, <strong id="dli_08_0065__en-us_topic_0000001704193417_b4793104422414">positive(2) = 2</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row165819102129"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_af6a7f34cf9fd4b4a834978c098cecad7">pow(DOUBLE a, DOUBLE p), power(DOUBLE a, DOUBLE p)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a2e50ab0626a14aeba443d79318cba5ed">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a3ff9cf7647c4465b951b2889a2906f95">Returns the value of <strong id="dli_08_0065__en-us_topic_0000001704193417_b14980155842419">a</strong> raised to the power of <strong id="dli_08_0065__en-us_topic_0000001704193417_b1710142142518">p</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1158131091218"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a272c506326154a278952ad56d90c7069">radians(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a2583a24af2424d65901167ce2c716085">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a9c4cace8020d4808bcb469f20ef18b42">Returns the radian corresponding to the angle.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1986655117135"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ae94ac9b693084d20884953746ab1b560">rand(INT seed)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a53a6f6471f3743d7b28d832cab54b0c5">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_adc48c227465f4c0596185b7bc6a65a6b">Returns an evenly distributed random number that is greater than or equal to 0 and less than 1. If the seed is specified, a stable random number sequence is displayed.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row13866155119139"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a97a3d914cf874fc7bdd3d60ece3c41c5">round(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aacce735935554316b085d855689de584">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aa2c615cc38094671bf2a0a8cd9811f26">Round off</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row13866951141316"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a187eb55557d54cafa8e32a14e451873f">round(DOUBLE a, INT d)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a8099173ce96e4c0380ab14b61ff04921">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a16bf2249559b4f73aa3d24414d4f0035">Rounds <strong id="dli_08_0065__en-us_topic_0000001704193417_b89762149267">a</strong> to <strong id="dli_08_0065__en-us_topic_0000001704193417_b3321181722611">d</strong> decimal places, for example, <strong id="dli_08_0065__en-us_topic_0000001704193417_b1898383110262">round(21.263,2) = 21.26</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row486705117137"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_acabf753eb3b349c5864aef84a32cdaca">shiftleft(BIGINT a, INT b)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ae4cf948462c042909fc89baa3634869d">INT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_ada93f7d479a64683bd0c0a360a9b3c4e">Bitwise signed left shift. Interprets <strong id="dli_08_0065__en-us_topic_0000001704193417_b1850162213330">a</strong> as a binary number and shifts the binary number <strong id="dli_08_0065__en-us_topic_0000001704193417_b21009312334">b</strong> positions to the left.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row11867205116134"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aab1d64b3f3154f83841aaf4a0a808c9e">shiftright(BIGINT a, INT b)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_afa1ad4bec16b44d498e61af4591f674c">INT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a2ea0b2cb96f84e9e953c940d4a35494b">Bitwise signed right shift. Interprets <strong id="dli_08_0065__en-us_topic_0000001704193417_b431416103411">a</strong> as a binary number and shifts the binary number <strong id="dli_08_0065__en-us_topic_0000001704193417_b103141018346">b</strong> positions to the right.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row1486755101316"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a6c37e304fd5b4aec95b08540f9e7a001">shiftrightunsigned(BIGINT a, INT b)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a5c05acc33986461d9c20e2b782a54967">INT</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_acc0fef2b58b74188bfa831536d631890">Bitwise unsigned right shift. Interprets <strong id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0093946856_b842352706101112">a</strong> as a binary number and shifts the binary number <strong id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0093946856_b842352706101114">b</strong> positions to the right.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row4867851201318"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a2733008a07c24042909a8acec3a41d0f">sign(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_aa863ff8e335a4ffa8a85961ce663caf0">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_afadab76b815a4c609a29efa6a342c36b">Returns the sign of <strong id="dli_08_0065__en-us_topic_0000001704193417_b49012011193511">a</strong>. <strong id="dli_08_0065__en-us_topic_0000001704193417_b9902181119356">1.0</strong> is returned if <strong id="dli_08_0065__en-us_topic_0000001704193417_b1290271110358">a</strong> is positive. <strong id="dli_08_0065__en-us_topic_0000001704193417_b99029117356">1.0</strong> is returned if <strong id="dli_08_0065__en-us_topic_0000001704193417_b1690371119353">a</strong> is negative. Otherwise, <strong id="dli_08_0065__en-us_topic_0000001704193417_b1690371123511">0.0</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_r556f92124ceb418192696199a6db2491"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_abad50137ad5d41948e6bf0dbc03ad973">sin(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a99271f18315b47a7b6e96492d8ba071f">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a50afcfb1c05849d9b7799d823afa7e1d">Returns the sine value of the given angle <strong id="dli_08_0065__en-us_topic_0000001704193417_b158732047103518">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_r5095222084524c198d22177160396987"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a03f001d5b9c4403682a8db7683ba796d">sqrt(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a80998841869f4007bc75b2b5fef12fb9">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a5cdf00981bbe479a8b2e8cb5213bca5d">Returns the square root of <strong id="dli_08_0065__en-us_topic_0000001704193417_b169510693618">a</strong>.</p>
</td>
</tr>
<tr id="dli_08_0065__en-us_topic_0000001704193417_row16270886158"><td class="cellrowborder" valign="top" width="25.248702422145332%" headers="mcps1.3.2.2.4.1.1 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a0be2a2c1d146426e870281e5186d4fc2">tan(DOUBLE a)</p>
</td>
<td class="cellrowborder" valign="top" width="15.484429065743942%" headers="mcps1.3.2.2.4.1.2 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a28e0fce0630c40ce8465861273b7766f">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" width="59.266868512110726%" headers="mcps1.3.2.2.4.1.3 "><p id="dli_08_0065__en-us_topic_0000001704193417_en-us_topic_0206796990_en-us_topic_0093946856_a5f3d276fcb784b45921c2e9721a8e2a9">Returns the tangent value of the given angle <strong id="dli_08_0065__en-us_topic_0000001704193417_b17217141320445">a</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_08_0473.html">Mathematical Functions</a></div>
</div>
</div>