• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
6<title>rs_cl.rsh File Reference</title>
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="doxygen.css" rel="stylesheet" type="text/css" />
9
10
11
12</head>
13<body>
14<div id="top"><!-- do not remove this div! -->
15
16
17<!-- Generated by Doxygen 1.7.5.1 -->
18  <div id="navrow1" class="tabs">
19    <ul class="tablist">
20      <li><a href="index.html"><span>Overview</span></a></li>
21      <li class="current"><a href="globals.html"><span>Globals</span></a></li>
22      <li><a href="annotated.html"><span>Structs</span></a></li>
23    </ul>
24  </div>
25</div>
26<div class="header">
27  <div class="summary">
28<a href="#func-members">Functions</a>  </div>
29  <div class="headertitle">
30<div class="title">rs_cl.rsh File Reference</div>  </div>
31</div>
32<div class="contents">
33<table class="memberdecls">
34<tr><td colspan="2"><h2><a name="func-members"></a>
35Functions</h2></td></tr>
36<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a07648648c7f857cfd1479821d4389751">acos</a> (float)</td></tr>
37<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a6575106413ec72448439ef67f1309424">acosh</a> (float)</td></tr>
38<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a2c0c7c00815bd480fcda80d1144ac20d">acospi</a> (float v)</td></tr>
39<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a78b9d0583bd0699e2eac30d2a136817a">asin</a> (float)</td></tr>
40<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a4e3fe465ed5541af53192c59c80af1a0">asinh</a> (float)</td></tr>
41<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a679b63e86358fc962cb343eb6263496b">asinpi</a> (float v)</td></tr>
42<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ab790c3a7df8fcbeab77f6c0e3b4dcada">atan</a> (float)</td></tr>
43<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#aaf4b636b09041878e1542054c73d81e9">atan2</a> (float y, float x)</td></tr>
44<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a83bdf415cc561ff6237a124273d9fb0d">atanh</a> (float)</td></tr>
45<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a420d4aaea0e53d7172845a21a1e648ea">atanpi</a> (float v)</td></tr>
46<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a9aed0a1613c86acf5e4c5ad3290a4745">atan2pi</a> (float y, float x)</td></tr>
47<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ae9d1787b55c2587478a24d96573225df">cbrt</a> (float)</td></tr>
48<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#aa8fc6daff743a1b635ccbf9af83fe4e4">ceil</a> (float)</td></tr>
49<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a29f2602d95aa7b3950e2b77b3e268f7e">copysign</a> (float x, float y)</td></tr>
50<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a8eec7aeb4b0c46b06cbcd1a3ac3e6f05">cos</a> (float)</td></tr>
51<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ac8d88d83182afd591401eaed101d9670">cosh</a> (float)</td></tr>
52<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a07b12188bd53c6b584274892f6abf425">cospi</a> (float v)</td></tr>
53<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a2e24dc8594e758b64c340153f67a533c">erfc</a> (float)</td></tr>
54<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a139f102df651c25c26dd35d549173f57">erf</a> (float)</td></tr>
55<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a6d9aac64c2686961ca8f30e3c34fef36">exp</a> (float)</td></tr>
56<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a39bca19ee2b1aa95144e58eb4a1e4f88">exp2</a> (float)</td></tr>
57<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a9243de1d67fcc847a89f95748d664b19">pow</a> (float x, float y)</td></tr>
58<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a4b51589157c9ce600ea6156be51d8d18">exp10</a> (float v)</td></tr>
59<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a7996044b67be921a5e58e2fe76af66e2">expm1</a> (float)</td></tr>
60<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ad6e897f1acae252ec0901e3b122992ea">fabs</a> (float)</td></tr>
61<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ae7a7bac0f4e244594078f87b42c8716a">fdim</a> (float, float)</td></tr>
62<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#aae2da38a7246378dff8014ec407a30c3">floor</a> (float)</td></tr>
63<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ac42909daec463fe449743e70baf8360d">fma</a> (float a, float b, float c)</td></tr>
64<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a60f2072d8a746e7fe05cd46dea0fefcc">fmax</a> (float x, float y)</td></tr>
65<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a1fd9d57c6c992866bf5161be2cf4c447">fmin</a> (float x, float y)</td></tr>
66<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a31d5e179730ae44e1dbc74c1535f392e">fmod</a> (float x, float y)</td></tr>
67<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ac5277212e0df309a0a7c908424f7b14b">fract</a> (float v, float *iptr)</td></tr>
68<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a778635fffed3cee8ab0800482ba53a30">frexp</a> (float v, int *iptr)</td></tr>
69<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a147f38d6e41f45de9b5e7c6f3dcac010">hypot</a> (float x, float y)</td></tr>
70<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#aad9a8beba52acb77b1efeba432e6cc2c">ilogb</a> (float)</td></tr>
71<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a013bc1dcda984cbc608e123ed38491e6">ldexp</a> (float x, int y)</td></tr>
72<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a3ff36f9b21927d6b4b58616e48fddcb4">lgamma</a> (float)</td></tr>
73<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a735f4e14e33c50348ef41220f9210bcc">lgamma</a> (float x, int *y)</td></tr>
74<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a3ff85f5f4b206ecf9ec9d128d7d18a08">log</a> (float)</td></tr>
75<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#af5c1bdba2a13aa2e2b0722287f6a919f">log10</a> (float)</td></tr>
76<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a2fb571ae932f671ff3e9e97f2d3fabb7">log2</a> (float v)</td></tr>
77<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ae10541ede49062ef7f977712c4878c1f">log1p</a> (float v)</td></tr>
78<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a28742d6ce2f20a61f16ecc08ed499871">logb</a> (float)</td></tr>
79<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a4f9086698f1eb466ba2dccf7e331cdc3">mad</a> (float a, float b, float c)</td></tr>
80<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a841633bcdcaeb6a514d9c6460f0adf2d">modf</a> (float x, float *iret)</td></tr>
81<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#adb11df05fb9985595af0a7bd882bdeac">nextafter</a> (float x, float y)</td></tr>
82<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#afd46205452017b741abb2e17fc28557d">pown</a> (float v, int p)</td></tr>
83<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a3ff65421721ec8e6ce8d875a563d005f">powr</a> (float v, float p)</td></tr>
84<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a5188ac0e3af95b0956c6abeafb74fda9">remainder</a> (float x, float y)</td></tr>
85<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#adb0ffe344ae56ca7fc9083c1f2943e55">rint</a> (float)</td></tr>
86<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#af169e7e1c575b7c24c1834569223077f">rootn</a> (float v, int n)</td></tr>
87<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#aff4846ab5b947550814d5414a2c3626f">round</a> (float)</td></tr>
88<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a92da0faef80c4d8f66e954c8c169a729">sqrt</a> (float)</td></tr>
89<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a5db00fde9e6bff693a38f3a37e7a1f70">rsqrt</a> (float v)</td></tr>
90<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a8c8cd526b44eb55aede77cf659f24306">sin</a> (float v)</td></tr>
91<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a240f7c7c20b432a30dc660b5dd4cd320">sincos</a> (float v, float *cosptr)</td></tr>
92<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ae686e0cc567f7ee2b0a84706aa486e4a">sinh</a> (float)</td></tr>
93<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a4fe4fef049786e888526d6f37b912b0a">sinpi</a> (float v)</td></tr>
94<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#af12e245af8ff9bb72b5000e7c26cd8fe">tan</a> (float v)</td></tr>
95<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#abc36e89ddb87ea78451d1c5921ddbd8d">tanh</a> (float)</td></tr>
96<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ad8bfb083dd3979a305e594a0d6e581c4">tanpi</a> (float v)</td></tr>
97<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ab9f4cbfd2470420ee302f28cf3de6dd0">tgamma</a> (float)</td></tr>
98<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ad1a7c65693231219db1babeae1c41f15">trunc</a> (float)</td></tr>
99<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#ad4dab580aba6cf15539b407b9163dfde">clamp</a> (float amount, float low, float high)</td></tr>
100<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#adc1b551193e66d8037daa1721df4d29c">degrees</a> (float radians)</td></tr>
101<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#af4c76d51368c8e330cb59ea5a0a2310e">mix</a> (float start, float stop, float amount)</td></tr>
102<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#aaef2526c4d190ba6f7301b4e810917a7">radians</a> (float degrees)</td></tr>
103<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a4f7ba6882099d16853d0415982121900">step</a> (float edge, float v)</td></tr>
104<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a3e6d477a06dec7070f073eec9d8f420c">sign</a> (float v)</td></tr>
105<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME <a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a0f7beb26bb4aa30535babd14492a7e90">cross</a> (<a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a> lhs, <a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a> rhs)</td></tr>
106<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a70544acaca578035a849eef67d62c449">dot</a> (float lhs, float rhs)</td></tr>
107<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a1a222b7879342279e1e0070d6afd9e18">length</a> (float v)</td></tr>
108<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a4488863373be92e113e9d24aa3d21e76">distance</a> (float lhs, float rhs)</td></tr>
109<tr><td class="memItemLeft" align="right" valign="top">_RS_RUNTIME float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rs__cl_8rsh.html#a373e03e92a1b7f3fdea5ca4ca159d2a8">normalize</a> (float v)</td></tr>
110</table>
111<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
112<div class="textblock"><p>Basic math functions. </p>
113
114<p>Definition in file <a class="el" href="rs__cl_8rsh_source.html">rs_cl.rsh</a>.</p>
115</div><hr/><h2>Function Documentation</h2>
116<a class="anchor" id="a07648648c7f857cfd1479821d4389751"></a><!-- doxytag: member="rs_cl.rsh::acos" ref="a07648648c7f857cfd1479821d4389751" args="(float)" -->
117<div class="memitem">
118<div class="memproto">
119      <table class="memname">
120        <tr>
121          <td class="memname">float acos </td>
122          <td>(</td>
123          <td class="paramtype">float&#160;</td>
124          <td class="paramname"></td><td>)</td>
125          <td></td>
126        </tr>
127      </table>
128</div>
129<div class="memdoc">
130<p>Return the inverse cosine.</p>
131<p>Supports float, float2, float3, float4 </p>
132
133</div>
134</div>
135<a class="anchor" id="a6575106413ec72448439ef67f1309424"></a><!-- doxytag: member="rs_cl.rsh::acosh" ref="a6575106413ec72448439ef67f1309424" args="(float)" -->
136<div class="memitem">
137<div class="memproto">
138      <table class="memname">
139        <tr>
140          <td class="memname">float acosh </td>
141          <td>(</td>
142          <td class="paramtype">float&#160;</td>
143          <td class="paramname"></td><td>)</td>
144          <td></td>
145        </tr>
146      </table>
147</div>
148<div class="memdoc">
149<p>Return the inverse hyperbolic cosine.</p>
150<p>Supports float, float2, float3, float4 </p>
151
152</div>
153</div>
154<a class="anchor" id="a2c0c7c00815bd480fcda80d1144ac20d"></a><!-- doxytag: member="rs_cl.rsh::acospi" ref="a2c0c7c00815bd480fcda80d1144ac20d" args="(float v)" -->
155<div class="memitem">
156<div class="memproto">
157      <table class="memname">
158        <tr>
159          <td class="memname">_RS_RUNTIME float acospi </td>
160          <td>(</td>
161          <td class="paramtype">float&#160;</td>
162          <td class="paramname"><em>v</em></td><td>)</td>
163          <td></td>
164        </tr>
165      </table>
166</div>
167<div class="memdoc">
168<p>Return the inverse cosine divided by PI.</p>
169<p>Supports float, float2, float3, float4 </p>
170
171</div>
172</div>
173<a class="anchor" id="a78b9d0583bd0699e2eac30d2a136817a"></a><!-- doxytag: member="rs_cl.rsh::asin" ref="a78b9d0583bd0699e2eac30d2a136817a" args="(float)" -->
174<div class="memitem">
175<div class="memproto">
176      <table class="memname">
177        <tr>
178          <td class="memname">float asin </td>
179          <td>(</td>
180          <td class="paramtype">float&#160;</td>
181          <td class="paramname"></td><td>)</td>
182          <td></td>
183        </tr>
184      </table>
185</div>
186<div class="memdoc">
187<p>Return the inverse sine.</p>
188<p>Supports float, float2, float3, float4 </p>
189
190</div>
191</div>
192<a class="anchor" id="a4e3fe465ed5541af53192c59c80af1a0"></a><!-- doxytag: member="rs_cl.rsh::asinh" ref="a4e3fe465ed5541af53192c59c80af1a0" args="(float)" -->
193<div class="memitem">
194<div class="memproto">
195      <table class="memname">
196        <tr>
197          <td class="memname">float asinh </td>
198          <td>(</td>
199          <td class="paramtype">float&#160;</td>
200          <td class="paramname"></td><td>)</td>
201          <td></td>
202        </tr>
203      </table>
204</div>
205<div class="memdoc">
206<p>Return the inverse hyperbolic sine.</p>
207<p>Supports float, float2, float3, float4 </p>
208
209</div>
210</div>
211<a class="anchor" id="a679b63e86358fc962cb343eb6263496b"></a><!-- doxytag: member="rs_cl.rsh::asinpi" ref="a679b63e86358fc962cb343eb6263496b" args="(float v)" -->
212<div class="memitem">
213<div class="memproto">
214      <table class="memname">
215        <tr>
216          <td class="memname">_RS_RUNTIME float asinpi </td>
217          <td>(</td>
218          <td class="paramtype">float&#160;</td>
219          <td class="paramname"><em>v</em></td><td>)</td>
220          <td></td>
221        </tr>
222      </table>
223</div>
224<div class="memdoc">
225<p>Return the inverse sine divided by PI.</p>
226<p>Supports float, float2, float3, float4 </p>
227
228</div>
229</div>
230<a class="anchor" id="ab790c3a7df8fcbeab77f6c0e3b4dcada"></a><!-- doxytag: member="rs_cl.rsh::atan" ref="ab790c3a7df8fcbeab77f6c0e3b4dcada" args="(float)" -->
231<div class="memitem">
232<div class="memproto">
233      <table class="memname">
234        <tr>
235          <td class="memname">float atan </td>
236          <td>(</td>
237          <td class="paramtype">float&#160;</td>
238          <td class="paramname"></td><td>)</td>
239          <td></td>
240        </tr>
241      </table>
242</div>
243<div class="memdoc">
244<p>Return the inverse tangent.</p>
245<p>Supports float, float2, float3, float4 </p>
246
247</div>
248</div>
249<a class="anchor" id="aaf4b636b09041878e1542054c73d81e9"></a><!-- doxytag: member="rs_cl.rsh::atan2" ref="aaf4b636b09041878e1542054c73d81e9" args="(float y, float x)" -->
250<div class="memitem">
251<div class="memproto">
252      <table class="memname">
253        <tr>
254          <td class="memname">float atan2 </td>
255          <td>(</td>
256          <td class="paramtype">float&#160;</td>
257          <td class="paramname"><em>y</em>, </td>
258        </tr>
259        <tr>
260          <td class="paramkey"></td>
261          <td></td>
262          <td class="paramtype">float&#160;</td>
263          <td class="paramname"><em>x</em>&#160;</td>
264        </tr>
265        <tr>
266          <td></td>
267          <td>)</td>
268          <td></td><td></td>
269        </tr>
270      </table>
271</div>
272<div class="memdoc">
273<p>Return the inverse tangent of y / x.</p>
274<p>Supports float, float2, float3, float4. Both arguments must be of the same type.</p>
275<dl><dt><b>Parameters:</b></dt><dd>
276  <table class="params">
277    <tr><td class="paramname">y</td><td></td></tr>
278    <tr><td class="paramname">x</td><td></td></tr>
279  </table>
280  </dd>
281</dl>
282
283</div>
284</div>
285<a class="anchor" id="a9aed0a1613c86acf5e4c5ad3290a4745"></a><!-- doxytag: member="rs_cl.rsh::atan2pi" ref="a9aed0a1613c86acf5e4c5ad3290a4745" args="(float y, float x)" -->
286<div class="memitem">
287<div class="memproto">
288      <table class="memname">
289        <tr>
290          <td class="memname">_RS_RUNTIME float atan2pi </td>
291          <td>(</td>
292          <td class="paramtype">float&#160;</td>
293          <td class="paramname"><em>y</em>, </td>
294        </tr>
295        <tr>
296          <td class="paramkey"></td>
297          <td></td>
298          <td class="paramtype">float&#160;</td>
299          <td class="paramname"><em>x</em>&#160;</td>
300        </tr>
301        <tr>
302          <td></td>
303          <td>)</td>
304          <td></td><td></td>
305        </tr>
306      </table>
307</div>
308<div class="memdoc">
309<p>Return the inverse tangent of y / x, divided by PI.</p>
310<p>Supports float, float2, float3, float4. Both arguments must be of the same type.</p>
311<dl><dt><b>Parameters:</b></dt><dd>
312  <table class="params">
313    <tr><td class="paramname">y</td><td></td></tr>
314    <tr><td class="paramname">x</td><td></td></tr>
315  </table>
316  </dd>
317</dl>
318
319</div>
320</div>
321<a class="anchor" id="a83bdf415cc561ff6237a124273d9fb0d"></a><!-- doxytag: member="rs_cl.rsh::atanh" ref="a83bdf415cc561ff6237a124273d9fb0d" args="(float)" -->
322<div class="memitem">
323<div class="memproto">
324      <table class="memname">
325        <tr>
326          <td class="memname">float atanh </td>
327          <td>(</td>
328          <td class="paramtype">float&#160;</td>
329          <td class="paramname"></td><td>)</td>
330          <td></td>
331        </tr>
332      </table>
333</div>
334<div class="memdoc">
335<p>Return the inverse hyperbolic tangent.</p>
336<p>Supports float, float2, float3, float4 </p>
337
338</div>
339</div>
340<a class="anchor" id="a420d4aaea0e53d7172845a21a1e648ea"></a><!-- doxytag: member="rs_cl.rsh::atanpi" ref="a420d4aaea0e53d7172845a21a1e648ea" args="(float v)" -->
341<div class="memitem">
342<div class="memproto">
343      <table class="memname">
344        <tr>
345          <td class="memname">_RS_RUNTIME float atanpi </td>
346          <td>(</td>
347          <td class="paramtype">float&#160;</td>
348          <td class="paramname"><em>v</em></td><td>)</td>
349          <td></td>
350        </tr>
351      </table>
352</div>
353<div class="memdoc">
354<p>Return the inverse tangent divided by PI.</p>
355<p>Supports float, float2, float3, float4 </p>
356
357</div>
358</div>
359<a class="anchor" id="ae9d1787b55c2587478a24d96573225df"></a><!-- doxytag: member="rs_cl.rsh::cbrt" ref="ae9d1787b55c2587478a24d96573225df" args="(float)" -->
360<div class="memitem">
361<div class="memproto">
362      <table class="memname">
363        <tr>
364          <td class="memname">float cbrt </td>
365          <td>(</td>
366          <td class="paramtype">float&#160;</td>
367          <td class="paramname"></td><td>)</td>
368          <td></td>
369        </tr>
370      </table>
371</div>
372<div class="memdoc">
373<p>Return the cube root.</p>
374<p>Supports float, float2, float3, float4. </p>
375
376</div>
377</div>
378<a class="anchor" id="aa8fc6daff743a1b635ccbf9af83fe4e4"></a><!-- doxytag: member="rs_cl.rsh::ceil" ref="aa8fc6daff743a1b635ccbf9af83fe4e4" args="(float)" -->
379<div class="memitem">
380<div class="memproto">
381      <table class="memname">
382        <tr>
383          <td class="memname">float ceil </td>
384          <td>(</td>
385          <td class="paramtype">float&#160;</td>
386          <td class="paramname"></td><td>)</td>
387          <td></td>
388        </tr>
389      </table>
390</div>
391<div class="memdoc">
392<p>Return the smallest integer not less than a value.</p>
393<p>Supports float, float2, float3, float4. </p>
394
395</div>
396</div>
397<a class="anchor" id="ad4dab580aba6cf15539b407b9163dfde"></a><!-- doxytag: member="rs_cl.rsh::clamp" ref="ad4dab580aba6cf15539b407b9163dfde" args="(float amount, float low, float high)" -->
398<div class="memitem">
399<div class="memproto">
400      <table class="memname">
401        <tr>
402          <td class="memname">_RS_RUNTIME <a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> clamp </td>
403          <td>(</td>
404          <td class="paramtype">float&#160;</td>
405          <td class="paramname"><em>amount</em>, </td>
406        </tr>
407        <tr>
408          <td class="paramkey"></td>
409          <td></td>
410          <td class="paramtype">float&#160;</td>
411          <td class="paramname"><em>low</em>, </td>
412        </tr>
413        <tr>
414          <td class="paramkey"></td>
415          <td></td>
416          <td class="paramtype">float&#160;</td>
417          <td class="paramname"><em>high</em>&#160;</td>
418        </tr>
419        <tr>
420          <td></td>
421          <td>)</td>
422          <td></td><td></td>
423        </tr>
424      </table>
425</div>
426<div class="memdoc">
427<p>Return the minimum of two values.</p>
428<p>Supports 1,2,3,4 components of uchar, char, ushort, short, uint, int, float. Return the maximum of two values.</p>
429<p>Supports 1,2,3,4 components of uchar, char, ushort, short, uint, int, float. Clamp a value to a specified high and low bound.</p>
430<dl><dt><b>Parameters:</b></dt><dd>
431  <table class="params">
432    <tr><td class="paramname">amount</td><td>value to be clamped. Supports 1,2,3,4 components </td></tr>
433    <tr><td class="paramname">low</td><td>Lower bound, must be scalar or matching vector. </td></tr>
434    <tr><td class="paramname">high</td><td>High bound, must match type of low </td></tr>
435  </table>
436  </dd>
437</dl>
438
439</div>
440</div>
441<a class="anchor" id="a29f2602d95aa7b3950e2b77b3e268f7e"></a><!-- doxytag: member="rs_cl.rsh::copysign" ref="a29f2602d95aa7b3950e2b77b3e268f7e" args="(float x, float y)" -->
442<div class="memitem">
443<div class="memproto">
444      <table class="memname">
445        <tr>
446          <td class="memname">float copysign </td>
447          <td>(</td>
448          <td class="paramtype">float&#160;</td>
449          <td class="paramname"><em>x</em>, </td>
450        </tr>
451        <tr>
452          <td class="paramkey"></td>
453          <td></td>
454          <td class="paramtype">float&#160;</td>
455          <td class="paramname"><em>y</em>&#160;</td>
456        </tr>
457        <tr>
458          <td></td>
459          <td>)</td>
460          <td></td><td></td>
461        </tr>
462      </table>
463</div>
464<div class="memdoc">
465<p>Copy the sign bit from y to x.</p>
466<p>Supports float, float2, float3, float4. Both arguments must be of the same type.</p>
467<dl><dt><b>Parameters:</b></dt><dd>
468  <table class="params">
469    <tr><td class="paramname">x</td><td></td></tr>
470    <tr><td class="paramname">y</td><td></td></tr>
471  </table>
472  </dd>
473</dl>
474
475</div>
476</div>
477<a class="anchor" id="a8eec7aeb4b0c46b06cbcd1a3ac3e6f05"></a><!-- doxytag: member="rs_cl.rsh::cos" ref="a8eec7aeb4b0c46b06cbcd1a3ac3e6f05" args="(float)" -->
478<div class="memitem">
479<div class="memproto">
480      <table class="memname">
481        <tr>
482          <td class="memname">float cos </td>
483          <td>(</td>
484          <td class="paramtype">float&#160;</td>
485          <td class="paramname"></td><td>)</td>
486          <td></td>
487        </tr>
488      </table>
489</div>
490<div class="memdoc">
491<p>Return the cosine.</p>
492<p>Supports float, float2, float3, float4. </p>
493
494</div>
495</div>
496<a class="anchor" id="ac8d88d83182afd591401eaed101d9670"></a><!-- doxytag: member="rs_cl.rsh::cosh" ref="ac8d88d83182afd591401eaed101d9670" args="(float)" -->
497<div class="memitem">
498<div class="memproto">
499      <table class="memname">
500        <tr>
501          <td class="memname">float cosh </td>
502          <td>(</td>
503          <td class="paramtype">float&#160;</td>
504          <td class="paramname"></td><td>)</td>
505          <td></td>
506        </tr>
507      </table>
508</div>
509<div class="memdoc">
510<p>Return the hypebolic cosine.</p>
511<p>Supports float, float2, float3, float4. </p>
512
513</div>
514</div>
515<a class="anchor" id="a07b12188bd53c6b584274892f6abf425"></a><!-- doxytag: member="rs_cl.rsh::cospi" ref="a07b12188bd53c6b584274892f6abf425" args="(float v)" -->
516<div class="memitem">
517<div class="memproto">
518      <table class="memname">
519        <tr>
520          <td class="memname">_RS_RUNTIME float cospi </td>
521          <td>(</td>
522          <td class="paramtype">float&#160;</td>
523          <td class="paramname"><em>v</em></td><td>)</td>
524          <td></td>
525        </tr>
526      </table>
527</div>
528<div class="memdoc">
529<p>Return the cosine of the value * PI.</p>
530<p>Supports float, float2, float3, float4. </p>
531
532</div>
533</div>
534<a class="anchor" id="a0f7beb26bb4aa30535babd14492a7e90"></a><!-- doxytag: member="rs_cl.rsh::cross" ref="a0f7beb26bb4aa30535babd14492a7e90" args="(float3 lhs, float3 rhs)" -->
535<div class="memitem">
536<div class="memproto">
537      <table class="memname">
538        <tr>
539          <td class="memname">_RS_RUNTIME <a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> cross </td>
540          <td>(</td>
541          <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a>&#160;</td>
542          <td class="paramname"><em>lhs</em>, </td>
543        </tr>
544        <tr>
545          <td class="paramkey"></td>
546          <td></td>
547          <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a>&#160;</td>
548          <td class="paramname"><em>rhs</em>&#160;</td>
549        </tr>
550        <tr>
551          <td></td>
552          <td>)</td>
553          <td></td><td></td>
554        </tr>
555      </table>
556</div>
557<div class="memdoc">
558<p>Compute the cross product of two vectors.</p>
559<p>Supports 3,4 components </p>
560
561</div>
562</div>
563<a class="anchor" id="adc1b551193e66d8037daa1721df4d29c"></a><!-- doxytag: member="rs_cl.rsh::degrees" ref="adc1b551193e66d8037daa1721df4d29c" args="(float radians)" -->
564<div class="memitem">
565<div class="memproto">
566      <table class="memname">
567        <tr>
568          <td class="memname">_RS_RUNTIME float degrees </td>
569          <td>(</td>
570          <td class="paramtype">float&#160;</td>
571          <td class="paramname"><em>radians</em></td><td>)</td>
572          <td></td>
573        </tr>
574      </table>
575</div>
576<div class="memdoc">
577<p>Convert from radians to degrees.</p>
578<p>Supports 1,2,3,4 components </p>
579
580</div>
581</div>
582<a class="anchor" id="a4488863373be92e113e9d24aa3d21e76"></a><!-- doxytag: member="rs_cl.rsh::distance" ref="a4488863373be92e113e9d24aa3d21e76" args="(float lhs, float rhs)" -->
583<div class="memitem">
584<div class="memproto">
585      <table class="memname">
586        <tr>
587          <td class="memname">_RS_RUNTIME float distance </td>
588          <td>(</td>
589          <td class="paramtype">float&#160;</td>
590          <td class="paramname"><em>lhs</em>, </td>
591        </tr>
592        <tr>
593          <td class="paramkey"></td>
594          <td></td>
595          <td class="paramtype">float&#160;</td>
596          <td class="paramname"><em>rhs</em>&#160;</td>
597        </tr>
598        <tr>
599          <td></td>
600          <td>)</td>
601          <td></td><td></td>
602        </tr>
603      </table>
604</div>
605<div class="memdoc">
606<p>Compute the distance between two points.</p>
607<p>Supports 1,2,3,4 components </p>
608
609</div>
610</div>
611<a class="anchor" id="a70544acaca578035a849eef67d62c449"></a><!-- doxytag: member="rs_cl.rsh::dot" ref="a70544acaca578035a849eef67d62c449" args="(float lhs, float rhs)" -->
612<div class="memitem">
613<div class="memproto">
614      <table class="memname">
615        <tr>
616          <td class="memname">_RS_RUNTIME float dot </td>
617          <td>(</td>
618          <td class="paramtype">float&#160;</td>
619          <td class="paramname"><em>lhs</em>, </td>
620        </tr>
621        <tr>
622          <td class="paramkey"></td>
623          <td></td>
624          <td class="paramtype">float&#160;</td>
625          <td class="paramname"><em>rhs</em>&#160;</td>
626        </tr>
627        <tr>
628          <td></td>
629          <td>)</td>
630          <td></td><td></td>
631        </tr>
632      </table>
633</div>
634<div class="memdoc">
635<p>Compute the dot product of two vectors.</p>
636<p>Supports 1,2,3,4 components </p>
637
638</div>
639</div>
640<a class="anchor" id="a139f102df651c25c26dd35d549173f57"></a><!-- doxytag: member="rs_cl.rsh::erf" ref="a139f102df651c25c26dd35d549173f57" args="(float)" -->
641<div class="memitem">
642<div class="memproto">
643      <table class="memname">
644        <tr>
645          <td class="memname">float erf </td>
646          <td>(</td>
647          <td class="paramtype">float&#160;</td>
648          <td class="paramname"></td><td>)</td>
649          <td></td>
650        </tr>
651      </table>
652</div>
653<div class="memdoc">
654<p>Return the error function.</p>
655<p>Supports float, float2, float3, float4. </p>
656
657</div>
658</div>
659<a class="anchor" id="a2e24dc8594e758b64c340153f67a533c"></a><!-- doxytag: member="rs_cl.rsh::erfc" ref="a2e24dc8594e758b64c340153f67a533c" args="(float)" -->
660<div class="memitem">
661<div class="memproto">
662      <table class="memname">
663        <tr>
664          <td class="memname">float erfc </td>
665          <td>(</td>
666          <td class="paramtype">float&#160;</td>
667          <td class="paramname"></td><td>)</td>
668          <td></td>
669        </tr>
670      </table>
671</div>
672<div class="memdoc">
673<p>Return the complementary error function.</p>
674<p>Supports float, float2, float3, float4. </p>
675
676</div>
677</div>
678<a class="anchor" id="a6d9aac64c2686961ca8f30e3c34fef36"></a><!-- doxytag: member="rs_cl.rsh::exp" ref="a6d9aac64c2686961ca8f30e3c34fef36" args="(float)" -->
679<div class="memitem">
680<div class="memproto">
681      <table class="memname">
682        <tr>
683          <td class="memname">float exp </td>
684          <td>(</td>
685          <td class="paramtype">float&#160;</td>
686          <td class="paramname"></td><td>)</td>
687          <td></td>
688        </tr>
689      </table>
690</div>
691<div class="memdoc">
692<p>Return e ^ value.</p>
693<p>Supports float, float2, float3, float4. </p>
694
695</div>
696</div>
697<a class="anchor" id="a4b51589157c9ce600ea6156be51d8d18"></a><!-- doxytag: member="rs_cl.rsh::exp10" ref="a4b51589157c9ce600ea6156be51d8d18" args="(float v)" -->
698<div class="memitem">
699<div class="memproto">
700      <table class="memname">
701        <tr>
702          <td class="memname">_RS_RUNTIME float exp10 </td>
703          <td>(</td>
704          <td class="paramtype">float&#160;</td>
705          <td class="paramname"><em>v</em></td><td>)</td>
706          <td></td>
707        </tr>
708      </table>
709</div>
710<div class="memdoc">
711<p>Return 10 ^ value.</p>
712<p>Supports float, float2, float3, float4. </p>
713
714</div>
715</div>
716<a class="anchor" id="a39bca19ee2b1aa95144e58eb4a1e4f88"></a><!-- doxytag: member="rs_cl.rsh::exp2" ref="a39bca19ee2b1aa95144e58eb4a1e4f88" args="(float)" -->
717<div class="memitem">
718<div class="memproto">
719      <table class="memname">
720        <tr>
721          <td class="memname">float exp2 </td>
722          <td>(</td>
723          <td class="paramtype">float&#160;</td>
724          <td class="paramname"></td><td>)</td>
725          <td></td>
726        </tr>
727      </table>
728</div>
729<div class="memdoc">
730<p>Return 2 ^ value.</p>
731<p>Supports float, float2, float3, float4. </p>
732
733</div>
734</div>
735<a class="anchor" id="a7996044b67be921a5e58e2fe76af66e2"></a><!-- doxytag: member="rs_cl.rsh::expm1" ref="a7996044b67be921a5e58e2fe76af66e2" args="(float)" -->
736<div class="memitem">
737<div class="memproto">
738      <table class="memname">
739        <tr>
740          <td class="memname">float expm1 </td>
741          <td>(</td>
742          <td class="paramtype">float&#160;</td>
743          <td class="paramname"></td><td>)</td>
744          <td></td>
745        </tr>
746      </table>
747</div>
748<div class="memdoc">
749<p>Return (e ^ value) - 1.</p>
750<p>Supports float, float2, float3, float4. </p>
751
752</div>
753</div>
754<a class="anchor" id="ad6e897f1acae252ec0901e3b122992ea"></a><!-- doxytag: member="rs_cl.rsh::fabs" ref="ad6e897f1acae252ec0901e3b122992ea" args="(float)" -->
755<div class="memitem">
756<div class="memproto">
757      <table class="memname">
758        <tr>
759          <td class="memname">float fabs </td>
760          <td>(</td>
761          <td class="paramtype">float&#160;</td>
762          <td class="paramname"></td><td>)</td>
763          <td></td>
764        </tr>
765      </table>
766</div>
767<div class="memdoc">
768<p>Return the absolute value of a value.</p>
769<p>Supports float, float2, float3, float4. </p>
770
771</div>
772</div>
773<a class="anchor" id="ae7a7bac0f4e244594078f87b42c8716a"></a><!-- doxytag: member="rs_cl.rsh::fdim" ref="ae7a7bac0f4e244594078f87b42c8716a" args="(float, float)" -->
774<div class="memitem">
775<div class="memproto">
776      <table class="memname">
777        <tr>
778          <td class="memname">float fdim </td>
779          <td>(</td>
780          <td class="paramtype">float&#160;</td>
781          <td class="paramname">, </td>
782        </tr>
783        <tr>
784          <td class="paramkey"></td>
785          <td></td>
786          <td class="paramtype">float&#160;</td>
787          <td class="paramname">&#160;</td>
788        </tr>
789        <tr>
790          <td></td>
791          <td>)</td>
792          <td></td><td></td>
793        </tr>
794      </table>
795</div>
796<div class="memdoc">
797<p>Return the positive difference between two values.</p>
798<p>Supports float, float2, float3, float4. Both arguments must be of the same type. </p>
799
800</div>
801</div>
802<a class="anchor" id="aae2da38a7246378dff8014ec407a30c3"></a><!-- doxytag: member="rs_cl.rsh::floor" ref="aae2da38a7246378dff8014ec407a30c3" args="(float)" -->
803<div class="memitem">
804<div class="memproto">
805      <table class="memname">
806        <tr>
807          <td class="memname">float floor </td>
808          <td>(</td>
809          <td class="paramtype">float&#160;</td>
810          <td class="paramname"></td><td>)</td>
811          <td></td>
812        </tr>
813      </table>
814</div>
815<div class="memdoc">
816<p>Return the smallest integer not greater than a value.</p>
817<p>Supports float, float2, float3, float4. </p>
818
819</div>
820</div>
821<a class="anchor" id="ac42909daec463fe449743e70baf8360d"></a><!-- doxytag: member="rs_cl.rsh::fma" ref="ac42909daec463fe449743e70baf8360d" args="(float a, float b, float c)" -->
822<div class="memitem">
823<div class="memproto">
824      <table class="memname">
825        <tr>
826          <td class="memname">float fma </td>
827          <td>(</td>
828          <td class="paramtype">float&#160;</td>
829          <td class="paramname"><em>a</em>, </td>
830        </tr>
831        <tr>
832          <td class="paramkey"></td>
833          <td></td>
834          <td class="paramtype">float&#160;</td>
835          <td class="paramname"><em>b</em>, </td>
836        </tr>
837        <tr>
838          <td class="paramkey"></td>
839          <td></td>
840          <td class="paramtype">float&#160;</td>
841          <td class="paramname"><em>c</em>&#160;</td>
842        </tr>
843        <tr>
844          <td></td>
845          <td>)</td>
846          <td></td><td></td>
847        </tr>
848      </table>
849</div>
850<div class="memdoc">
851<p>Return a*b + c.</p>
852<p>Supports float, float2, float3, float4. </p>
853
854</div>
855</div>
856<a class="anchor" id="a60f2072d8a746e7fe05cd46dea0fefcc"></a><!-- doxytag: member="rs_cl.rsh::fmax" ref="a60f2072d8a746e7fe05cd46dea0fefcc" args="(float x, float y)" -->
857<div class="memitem">
858<div class="memproto">
859      <table class="memname">
860        <tr>
861          <td class="memname">float fmax </td>
862          <td>(</td>
863          <td class="paramtype">float&#160;</td>
864          <td class="paramname"><em>x</em>, </td>
865        </tr>
866        <tr>
867          <td class="paramkey"></td>
868          <td></td>
869          <td class="paramtype">float&#160;</td>
870          <td class="paramname"><em>y</em>&#160;</td>
871        </tr>
872        <tr>
873          <td></td>
874          <td>)</td>
875          <td></td><td></td>
876        </tr>
877      </table>
878</div>
879<div class="memdoc">
880<p>Return (x &lt; y ? y : x)</p>
881<p>Supports float, float2, float3, float4. </p>
882<dl><dt><b>Parameters:</b></dt><dd>
883  <table class="params">
884    <tr><td class="paramname">x,:</td><td>may be float, float2, float3, float4 </td></tr>
885    <tr><td class="paramname">y,:</td><td>may be float or vector. If vector must match type of x. </td></tr>
886  </table>
887  </dd>
888</dl>
889
890</div>
891</div>
892<a class="anchor" id="a1fd9d57c6c992866bf5161be2cf4c447"></a><!-- doxytag: member="rs_cl.rsh::fmin" ref="a1fd9d57c6c992866bf5161be2cf4c447" args="(float x, float y)" -->
893<div class="memitem">
894<div class="memproto">
895      <table class="memname">
896        <tr>
897          <td class="memname">float fmin </td>
898          <td>(</td>
899          <td class="paramtype">float&#160;</td>
900          <td class="paramname"><em>x</em>, </td>
901        </tr>
902        <tr>
903          <td class="paramkey"></td>
904          <td></td>
905          <td class="paramtype">float&#160;</td>
906          <td class="paramname"><em>y</em>&#160;</td>
907        </tr>
908        <tr>
909          <td></td>
910          <td>)</td>
911          <td></td><td></td>
912        </tr>
913      </table>
914</div>
915<div class="memdoc">
916<p>Return (x &gt; y ? y : x)</p>
917<dl><dt><b>Parameters:</b></dt><dd>
918  <table class="params">
919    <tr><td class="paramname">x,:</td><td>may be float, float2, float3, float4 </td></tr>
920    <tr><td class="paramname">y,:</td><td>may be float or vector. If vector must match type of x. </td></tr>
921  </table>
922  </dd>
923</dl>
924
925</div>
926</div>
927<a class="anchor" id="a31d5e179730ae44e1dbc74c1535f392e"></a><!-- doxytag: member="rs_cl.rsh::fmod" ref="a31d5e179730ae44e1dbc74c1535f392e" args="(float x, float y)" -->
928<div class="memitem">
929<div class="memproto">
930      <table class="memname">
931        <tr>
932          <td class="memname">float fmod </td>
933          <td>(</td>
934          <td class="paramtype">float&#160;</td>
935          <td class="paramname"><em>x</em>, </td>
936        </tr>
937        <tr>
938          <td class="paramkey"></td>
939          <td></td>
940          <td class="paramtype">float&#160;</td>
941          <td class="paramname"><em>y</em>&#160;</td>
942        </tr>
943        <tr>
944          <td></td>
945          <td>)</td>
946          <td></td><td></td>
947        </tr>
948      </table>
949</div>
950<div class="memdoc">
951<p>Return the remainder from x / y</p>
952<p>Supports float, float2, float3, float4. </p>
953
954</div>
955</div>
956<a class="anchor" id="ac5277212e0df309a0a7c908424f7b14b"></a><!-- doxytag: member="rs_cl.rsh::fract" ref="ac5277212e0df309a0a7c908424f7b14b" args="(float v, float *iptr)" -->
957<div class="memitem">
958<div class="memproto">
959      <table class="memname">
960        <tr>
961          <td class="memname">_RS_RUNTIME float fract </td>
962          <td>(</td>
963          <td class="paramtype">float&#160;</td>
964          <td class="paramname"><em>v</em>, </td>
965        </tr>
966        <tr>
967          <td class="paramkey"></td>
968          <td></td>
969          <td class="paramtype">float *&#160;</td>
970          <td class="paramname"><em>iptr</em>&#160;</td>
971        </tr>
972        <tr>
973          <td></td>
974          <td>)</td>
975          <td></td><td></td>
976        </tr>
977      </table>
978</div>
979<div class="memdoc">
980<p>Return fractional part of v</p>
981<dl><dt><b>Parameters:</b></dt><dd>
982  <table class="params">
983    <tr><td class="paramname">iptr</td><td>iptr[0] will be set to the floor of the input value. Supports float, float2, float3, float4. </td></tr>
984  </table>
985  </dd>
986</dl>
987
988</div>
989</div>
990<a class="anchor" id="a778635fffed3cee8ab0800482ba53a30"></a><!-- doxytag: member="rs_cl.rsh::frexp" ref="a778635fffed3cee8ab0800482ba53a30" args="(float v, int *iptr)" -->
991<div class="memitem">
992<div class="memproto">
993      <table class="memname">
994        <tr>
995          <td class="memname">float frexp </td>
996          <td>(</td>
997          <td class="paramtype">float&#160;</td>
998          <td class="paramname"><em>v</em>, </td>
999        </tr>
1000        <tr>
1001          <td class="paramkey"></td>
1002          <td></td>
1003          <td class="paramtype">int *&#160;</td>
1004          <td class="paramname"><em>iptr</em>&#160;</td>
1005        </tr>
1006        <tr>
1007          <td></td>
1008          <td>)</td>
1009          <td></td><td></td>
1010        </tr>
1011      </table>
1012</div>
1013<div class="memdoc">
1014<p>Return the mantissa and place the exponent into iptr[0]</p>
1015<dl><dt><b>Parameters:</b></dt><dd>
1016  <table class="params">
1017    <tr><td class="paramname">v</td><td>Supports float, float2, float3, float4. </td></tr>
1018    <tr><td class="paramname">iptr</td><td>Must have the same vector size as v. </td></tr>
1019  </table>
1020  </dd>
1021</dl>
1022
1023</div>
1024</div>
1025<a class="anchor" id="a147f38d6e41f45de9b5e7c6f3dcac010"></a><!-- doxytag: member="rs_cl.rsh::hypot" ref="a147f38d6e41f45de9b5e7c6f3dcac010" args="(float x, float y)" -->
1026<div class="memitem">
1027<div class="memproto">
1028      <table class="memname">
1029        <tr>
1030          <td class="memname">float hypot </td>
1031          <td>(</td>
1032          <td class="paramtype">float&#160;</td>
1033          <td class="paramname"><em>x</em>, </td>
1034        </tr>
1035        <tr>
1036          <td class="paramkey"></td>
1037          <td></td>
1038          <td class="paramtype">float&#160;</td>
1039          <td class="paramname"><em>y</em>&#160;</td>
1040        </tr>
1041        <tr>
1042          <td></td>
1043          <td>)</td>
1044          <td></td><td></td>
1045        </tr>
1046      </table>
1047</div>
1048<div class="memdoc">
1049<p>Return sqrt(x*x + y*y)</p>
1050<p>Supports float, float2, float3, float4. </p>
1051
1052</div>
1053</div>
1054<a class="anchor" id="aad9a8beba52acb77b1efeba432e6cc2c"></a><!-- doxytag: member="rs_cl.rsh::ilogb" ref="aad9a8beba52acb77b1efeba432e6cc2c" args="(float)" -->
1055<div class="memitem">
1056<div class="memproto">
1057      <table class="memname">
1058        <tr>
1059          <td class="memname">int ilogb </td>
1060          <td>(</td>
1061          <td class="paramtype">float&#160;</td>
1062          <td class="paramname"></td><td>)</td>
1063          <td></td>
1064        </tr>
1065      </table>
1066</div>
1067<div class="memdoc">
1068<p>Return the integer exponent of a value</p>
1069<p>Supports 1,2,3,4 components </p>
1070
1071</div>
1072</div>
1073<a class="anchor" id="a013bc1dcda984cbc608e123ed38491e6"></a><!-- doxytag: member="rs_cl.rsh::ldexp" ref="a013bc1dcda984cbc608e123ed38491e6" args="(float x, int y)" -->
1074<div class="memitem">
1075<div class="memproto">
1076      <table class="memname">
1077        <tr>
1078          <td class="memname">float ldexp </td>
1079          <td>(</td>
1080          <td class="paramtype">float&#160;</td>
1081          <td class="paramname"><em>x</em>, </td>
1082        </tr>
1083        <tr>
1084          <td class="paramkey"></td>
1085          <td></td>
1086          <td class="paramtype">int&#160;</td>
1087          <td class="paramname"><em>y</em>&#160;</td>
1088        </tr>
1089        <tr>
1090          <td></td>
1091          <td>)</td>
1092          <td></td><td></td>
1093        </tr>
1094      </table>
1095</div>
1096<div class="memdoc">
1097<p>Return (x * 2^y)</p>
1098<dl><dt><b>Parameters:</b></dt><dd>
1099  <table class="params">
1100    <tr><td class="paramname">x</td><td>Supports 1,2,3,4 components </td></tr>
1101    <tr><td class="paramname">y</td><td>Supports single component or matching vector. </td></tr>
1102  </table>
1103  </dd>
1104</dl>
1105
1106</div>
1107</div>
1108<a class="anchor" id="a1a222b7879342279e1e0070d6afd9e18"></a><!-- doxytag: member="rs_cl.rsh::length" ref="a1a222b7879342279e1e0070d6afd9e18" args="(float v)" -->
1109<div class="memitem">
1110<div class="memproto">
1111      <table class="memname">
1112        <tr>
1113          <td class="memname">_RS_RUNTIME float length </td>
1114          <td>(</td>
1115          <td class="paramtype">float&#160;</td>
1116          <td class="paramname"><em>v</em></td><td>)</td>
1117          <td></td>
1118        </tr>
1119      </table>
1120</div>
1121<div class="memdoc">
1122<p>Compute the length of a vector.</p>
1123<p>Supports 1,2,3,4 components </p>
1124
1125</div>
1126</div>
1127<a class="anchor" id="a3ff36f9b21927d6b4b58616e48fddcb4"></a><!-- doxytag: member="rs_cl.rsh::lgamma" ref="a3ff36f9b21927d6b4b58616e48fddcb4" args="(float)" -->
1128<div class="memitem">
1129<div class="memproto">
1130      <table class="memname">
1131        <tr>
1132          <td class="memname">float lgamma </td>
1133          <td>(</td>
1134          <td class="paramtype">float&#160;</td>
1135          <td class="paramname"></td><td>)</td>
1136          <td></td>
1137        </tr>
1138      </table>
1139</div>
1140<div class="memdoc">
1141<p>Return the log gamma</p>
1142<p>Supports 1,2,3,4 components </p>
1143
1144</div>
1145</div>
1146<a class="anchor" id="a735f4e14e33c50348ef41220f9210bcc"></a><!-- doxytag: member="rs_cl.rsh::lgamma" ref="a735f4e14e33c50348ef41220f9210bcc" args="(float x, int *y)" -->
1147<div class="memitem">
1148<div class="memproto">
1149      <table class="memname">
1150        <tr>
1151          <td class="memname">float lgamma </td>
1152          <td>(</td>
1153          <td class="paramtype">float&#160;</td>
1154          <td class="paramname"><em>x</em>, </td>
1155        </tr>
1156        <tr>
1157          <td class="paramkey"></td>
1158          <td></td>
1159          <td class="paramtype">int *&#160;</td>
1160          <td class="paramname"><em>y</em>&#160;</td>
1161        </tr>
1162        <tr>
1163          <td></td>
1164          <td>)</td>
1165          <td></td><td></td>
1166        </tr>
1167      </table>
1168</div>
1169<div class="memdoc">
1170<p>Return the log gamma and sign</p>
1171<dl><dt><b>Parameters:</b></dt><dd>
1172  <table class="params">
1173    <tr><td class="paramname">x</td><td>Supports 1,2,3,4 components </td></tr>
1174    <tr><td class="paramname">y</td><td>Supports matching vector. </td></tr>
1175  </table>
1176  </dd>
1177</dl>
1178
1179</div>
1180</div>
1181<a class="anchor" id="a3ff85f5f4b206ecf9ec9d128d7d18a08"></a><!-- doxytag: member="rs_cl.rsh::log" ref="a3ff85f5f4b206ecf9ec9d128d7d18a08" args="(float)" -->
1182<div class="memitem">
1183<div class="memproto">
1184      <table class="memname">
1185        <tr>
1186          <td class="memname">float log </td>
1187          <td>(</td>
1188          <td class="paramtype">float&#160;</td>
1189          <td class="paramname"></td><td>)</td>
1190          <td></td>
1191        </tr>
1192      </table>
1193</div>
1194<div class="memdoc">
1195<p>Return the natural logarithm</p>
1196<p>Supports 1,2,3,4 components </p>
1197
1198</div>
1199</div>
1200<a class="anchor" id="af5c1bdba2a13aa2e2b0722287f6a919f"></a><!-- doxytag: member="rs_cl.rsh::log10" ref="af5c1bdba2a13aa2e2b0722287f6a919f" args="(float)" -->
1201<div class="memitem">
1202<div class="memproto">
1203      <table class="memname">
1204        <tr>
1205          <td class="memname">float log10 </td>
1206          <td>(</td>
1207          <td class="paramtype">float&#160;</td>
1208          <td class="paramname"></td><td>)</td>
1209          <td></td>
1210        </tr>
1211      </table>
1212</div>
1213<div class="memdoc">
1214<p>Return the base 10 logarithm</p>
1215<p>Supports 1,2,3,4 components </p>
1216
1217</div>
1218</div>
1219<a class="anchor" id="ae10541ede49062ef7f977712c4878c1f"></a><!-- doxytag: member="rs_cl.rsh::log1p" ref="ae10541ede49062ef7f977712c4878c1f" args="(float v)" -->
1220<div class="memitem">
1221<div class="memproto">
1222      <table class="memname">
1223        <tr>
1224          <td class="memname">float log1p </td>
1225          <td>(</td>
1226          <td class="paramtype">float&#160;</td>
1227          <td class="paramname"><em>v</em></td><td>)</td>
1228          <td></td>
1229        </tr>
1230      </table>
1231</div>
1232<div class="memdoc">
1233<p>Return the natural logarithm of (v + 1.0f)</p>
1234<p>Supports 1,2,3,4 components </p>
1235
1236</div>
1237</div>
1238<a class="anchor" id="a2fb571ae932f671ff3e9e97f2d3fabb7"></a><!-- doxytag: member="rs_cl.rsh::log2" ref="a2fb571ae932f671ff3e9e97f2d3fabb7" args="(float v)" -->
1239<div class="memitem">
1240<div class="memproto">
1241      <table class="memname">
1242        <tr>
1243          <td class="memname">_RS_RUNTIME float log2 </td>
1244          <td>(</td>
1245          <td class="paramtype">float&#160;</td>
1246          <td class="paramname"><em>v</em></td><td>)</td>
1247          <td></td>
1248        </tr>
1249      </table>
1250</div>
1251<div class="memdoc">
1252<p>Return the base 2 logarithm</p>
1253<p>Supports 1,2,3,4 components </p>
1254
1255</div>
1256</div>
1257<a class="anchor" id="a28742d6ce2f20a61f16ecc08ed499871"></a><!-- doxytag: member="rs_cl.rsh::logb" ref="a28742d6ce2f20a61f16ecc08ed499871" args="(float)" -->
1258<div class="memitem">
1259<div class="memproto">
1260      <table class="memname">
1261        <tr>
1262          <td class="memname">float logb </td>
1263          <td>(</td>
1264          <td class="paramtype">float&#160;</td>
1265          <td class="paramname"></td><td>)</td>
1266          <td></td>
1267        </tr>
1268      </table>
1269</div>
1270<div class="memdoc">
1271<p>Compute the exponent of the value.</p>
1272<p>Supports 1,2,3,4 components </p>
1273
1274</div>
1275</div>
1276<a class="anchor" id="a4f9086698f1eb466ba2dccf7e331cdc3"></a><!-- doxytag: member="rs_cl.rsh::mad" ref="a4f9086698f1eb466ba2dccf7e331cdc3" args="(float a, float b, float c)" -->
1277<div class="memitem">
1278<div class="memproto">
1279      <table class="memname">
1280        <tr>
1281          <td class="memname">float mad </td>
1282          <td>(</td>
1283          <td class="paramtype">float&#160;</td>
1284          <td class="paramname"><em>a</em>, </td>
1285        </tr>
1286        <tr>
1287          <td class="paramkey"></td>
1288          <td></td>
1289          <td class="paramtype">float&#160;</td>
1290          <td class="paramname"><em>b</em>, </td>
1291        </tr>
1292        <tr>
1293          <td class="paramkey"></td>
1294          <td></td>
1295          <td class="paramtype">float&#160;</td>
1296          <td class="paramname"><em>c</em>&#160;</td>
1297        </tr>
1298        <tr>
1299          <td></td>
1300          <td>)</td>
1301          <td></td><td></td>
1302        </tr>
1303      </table>
1304</div>
1305<div class="memdoc">
1306<p>Compute (a * b) + c</p>
1307<p>Supports 1,2,3,4 components </p>
1308
1309</div>
1310</div>
1311<a class="anchor" id="af4c76d51368c8e330cb59ea5a0a2310e"></a><!-- doxytag: member="rs_cl.rsh::mix" ref="af4c76d51368c8e330cb59ea5a0a2310e" args="(float start, float stop, float amount)" -->
1312<div class="memitem">
1313<div class="memproto">
1314      <table class="memname">
1315        <tr>
1316          <td class="memname">_RS_RUNTIME <a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> mix </td>
1317          <td>(</td>
1318          <td class="paramtype">float&#160;</td>
1319          <td class="paramname"><em>start</em>, </td>
1320        </tr>
1321        <tr>
1322          <td class="paramkey"></td>
1323          <td></td>
1324          <td class="paramtype">float&#160;</td>
1325          <td class="paramname"><em>stop</em>, </td>
1326        </tr>
1327        <tr>
1328          <td class="paramkey"></td>
1329          <td></td>
1330          <td class="paramtype">float&#160;</td>
1331          <td class="paramname"><em>amount</em>&#160;</td>
1332        </tr>
1333        <tr>
1334          <td></td>
1335          <td>)</td>
1336          <td></td><td></td>
1337        </tr>
1338      </table>
1339</div>
1340<div class="memdoc">
1341<p>return start + ((stop - start) * amount);</p>
1342<p>Supports 1,2,3,4 components </p>
1343
1344</div>
1345</div>
1346<a class="anchor" id="a841633bcdcaeb6a514d9c6460f0adf2d"></a><!-- doxytag: member="rs_cl.rsh::modf" ref="a841633bcdcaeb6a514d9c6460f0adf2d" args="(float x, float *iret)" -->
1347<div class="memitem">
1348<div class="memproto">
1349      <table class="memname">
1350        <tr>
1351          <td class="memname">float modf </td>
1352          <td>(</td>
1353          <td class="paramtype">float&#160;</td>
1354          <td class="paramname"><em>x</em>, </td>
1355        </tr>
1356        <tr>
1357          <td class="paramkey"></td>
1358          <td></td>
1359          <td class="paramtype">float *&#160;</td>
1360          <td class="paramname"><em>iret</em>&#160;</td>
1361        </tr>
1362        <tr>
1363          <td></td>
1364          <td>)</td>
1365          <td></td><td></td>
1366        </tr>
1367      </table>
1368</div>
1369<div class="memdoc">
1370<p>Return the integral and fractional components of a number Supports 1,2,3,4 components</p>
1371<dl><dt><b>Parameters:</b></dt><dd>
1372  <table class="params">
1373    <tr><td class="paramname">x</td><td>Source value </td></tr>
1374    <tr><td class="paramname">iret</td><td>iret[0] will be set to the integral portion of the number. </td></tr>
1375  </table>
1376  </dd>
1377</dl>
1378<dl class="return"><dt><b>Returns:</b></dt><dd>The floating point portion of the value. </dd></dl>
1379
1380</div>
1381</div>
1382<a class="anchor" id="adb11df05fb9985595af0a7bd882bdeac"></a><!-- doxytag: member="rs_cl.rsh::nextafter" ref="adb11df05fb9985595af0a7bd882bdeac" args="(float x, float y)" -->
1383<div class="memitem">
1384<div class="memproto">
1385      <table class="memname">
1386        <tr>
1387          <td class="memname">float nextafter </td>
1388          <td>(</td>
1389          <td class="paramtype">float&#160;</td>
1390          <td class="paramname"><em>x</em>, </td>
1391        </tr>
1392        <tr>
1393          <td class="paramkey"></td>
1394          <td></td>
1395          <td class="paramtype">float&#160;</td>
1396          <td class="paramname"><em>y</em>&#160;</td>
1397        </tr>
1398        <tr>
1399          <td></td>
1400          <td>)</td>
1401          <td></td><td></td>
1402        </tr>
1403      </table>
1404</div>
1405<div class="memdoc">
1406<p>Return the next floating point number from x towards y.</p>
1407<p>Supports 1,2,3,4 components </p>
1408
1409</div>
1410</div>
1411<a class="anchor" id="a373e03e92a1b7f3fdea5ca4ca159d2a8"></a><!-- doxytag: member="rs_cl.rsh::normalize" ref="a373e03e92a1b7f3fdea5ca4ca159d2a8" args="(float v)" -->
1412<div class="memitem">
1413<div class="memproto">
1414      <table class="memname">
1415        <tr>
1416          <td class="memname">_RS_RUNTIME <a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> normalize </td>
1417          <td>(</td>
1418          <td class="paramtype">float&#160;</td>
1419          <td class="paramname"><em>v</em></td><td>)</td>
1420          <td></td>
1421        </tr>
1422      </table>
1423</div>
1424<div class="memdoc">
1425<p>Normalize a vector.</p>
1426<p>Supports 1,2,3,4 components </p>
1427
1428</div>
1429</div>
1430<a class="anchor" id="a9243de1d67fcc847a89f95748d664b19"></a><!-- doxytag: member="rs_cl.rsh::pow" ref="a9243de1d67fcc847a89f95748d664b19" args="(float x, float y)" -->
1431<div class="memitem">
1432<div class="memproto">
1433      <table class="memname">
1434        <tr>
1435          <td class="memname">float pow </td>
1436          <td>(</td>
1437          <td class="paramtype">float&#160;</td>
1438          <td class="paramname"><em>x</em>, </td>
1439        </tr>
1440        <tr>
1441          <td class="paramkey"></td>
1442          <td></td>
1443          <td class="paramtype">float&#160;</td>
1444          <td class="paramname"><em>y</em>&#160;</td>
1445        </tr>
1446        <tr>
1447          <td></td>
1448          <td>)</td>
1449          <td></td><td></td>
1450        </tr>
1451      </table>
1452</div>
1453<div class="memdoc">
1454<p>Return x ^ y.</p>
1455<p>Supports float, float2, float3, float4. Both arguments must be of the same type. </p>
1456
1457</div>
1458</div>
1459<a class="anchor" id="afd46205452017b741abb2e17fc28557d"></a><!-- doxytag: member="rs_cl.rsh::pown" ref="afd46205452017b741abb2e17fc28557d" args="(float v, int p)" -->
1460<div class="memitem">
1461<div class="memproto">
1462      <table class="memname">
1463        <tr>
1464          <td class="memname">_RS_RUNTIME float pown </td>
1465          <td>(</td>
1466          <td class="paramtype">float&#160;</td>
1467          <td class="paramname"><em>v</em>, </td>
1468        </tr>
1469        <tr>
1470          <td class="paramkey"></td>
1471          <td></td>
1472          <td class="paramtype">int&#160;</td>
1473          <td class="paramname"><em>p</em>&#160;</td>
1474        </tr>
1475        <tr>
1476          <td></td>
1477          <td>)</td>
1478          <td></td><td></td>
1479        </tr>
1480      </table>
1481</div>
1482<div class="memdoc">
1483<p>Return (v ^ p).</p>
1484<p>Supports 1,2,3,4 components </p>
1485
1486</div>
1487</div>
1488<a class="anchor" id="a3ff65421721ec8e6ce8d875a563d005f"></a><!-- doxytag: member="rs_cl.rsh::powr" ref="a3ff65421721ec8e6ce8d875a563d005f" args="(float v, float p)" -->
1489<div class="memitem">
1490<div class="memproto">
1491      <table class="memname">
1492        <tr>
1493          <td class="memname">_RS_RUNTIME float powr </td>
1494          <td>(</td>
1495          <td class="paramtype">float&#160;</td>
1496          <td class="paramname"><em>v</em>, </td>
1497        </tr>
1498        <tr>
1499          <td class="paramkey"></td>
1500          <td></td>
1501          <td class="paramtype">float&#160;</td>
1502          <td class="paramname"><em>p</em>&#160;</td>
1503        </tr>
1504        <tr>
1505          <td></td>
1506          <td>)</td>
1507          <td></td><td></td>
1508        </tr>
1509      </table>
1510</div>
1511<div class="memdoc">
1512<p>Return (v ^ p). </p>
1513<dl><dt><b>Parameters:</b></dt><dd>
1514  <table class="params">
1515    <tr><td class="paramname">v</td><td>must be greater than 0.</td></tr>
1516  </table>
1517  </dd>
1518</dl>
1519<p>Supports 1,2,3,4 components </p>
1520
1521</div>
1522</div>
1523<a class="anchor" id="aaef2526c4d190ba6f7301b4e810917a7"></a><!-- doxytag: member="rs_cl.rsh::radians" ref="aaef2526c4d190ba6f7301b4e810917a7" args="(float degrees)" -->
1524<div class="memitem">
1525<div class="memproto">
1526      <table class="memname">
1527        <tr>
1528          <td class="memname">_RS_RUNTIME float radians </td>
1529          <td>(</td>
1530          <td class="paramtype">float&#160;</td>
1531          <td class="paramname"><em>degrees</em></td><td>)</td>
1532          <td></td>
1533        </tr>
1534      </table>
1535</div>
1536<div class="memdoc">
1537<p>Convert from degrees to radians.</p>
1538<p>Supports 1,2,3,4 components </p>
1539
1540</div>
1541</div>
1542<a class="anchor" id="a5188ac0e3af95b0956c6abeafb74fda9"></a><!-- doxytag: member="rs_cl.rsh::remainder" ref="a5188ac0e3af95b0956c6abeafb74fda9" args="(float x, float y)" -->
1543<div class="memitem">
1544<div class="memproto">
1545      <table class="memname">
1546        <tr>
1547          <td class="memname">float remainder </td>
1548          <td>(</td>
1549          <td class="paramtype">float&#160;</td>
1550          <td class="paramname"><em>x</em>, </td>
1551        </tr>
1552        <tr>
1553          <td class="paramkey"></td>
1554          <td></td>
1555          <td class="paramtype">float&#160;</td>
1556          <td class="paramname"><em>y</em>&#160;</td>
1557        </tr>
1558        <tr>
1559          <td></td>
1560          <td>)</td>
1561          <td></td><td></td>
1562        </tr>
1563      </table>
1564</div>
1565<div class="memdoc">
1566<p>Return round x/y to the nearest integer then compute the remander.</p>
1567<p>Supports 1,2,3,4 components </p>
1568
1569</div>
1570</div>
1571<a class="anchor" id="adb0ffe344ae56ca7fc9083c1f2943e55"></a><!-- doxytag: member="rs_cl.rsh::rint" ref="adb0ffe344ae56ca7fc9083c1f2943e55" args="(float)" -->
1572<div class="memitem">
1573<div class="memproto">
1574      <table class="memname">
1575        <tr>
1576          <td class="memname">float rint </td>
1577          <td>(</td>
1578          <td class="paramtype">float&#160;</td>
1579          <td class="paramname"></td><td>)</td>
1580          <td></td>
1581        </tr>
1582      </table>
1583</div>
1584<div class="memdoc">
1585<p>Round to the nearest integral value.</p>
1586<p>Supports 1,2,3,4 components </p>
1587
1588</div>
1589</div>
1590<a class="anchor" id="af169e7e1c575b7c24c1834569223077f"></a><!-- doxytag: member="rs_cl.rsh::rootn" ref="af169e7e1c575b7c24c1834569223077f" args="(float v, int n)" -->
1591<div class="memitem">
1592<div class="memproto">
1593      <table class="memname">
1594        <tr>
1595          <td class="memname">_RS_RUNTIME float rootn </td>
1596          <td>(</td>
1597          <td class="paramtype">float&#160;</td>
1598          <td class="paramname"><em>v</em>, </td>
1599        </tr>
1600        <tr>
1601          <td class="paramkey"></td>
1602          <td></td>
1603          <td class="paramtype">int&#160;</td>
1604          <td class="paramname"><em>n</em>&#160;</td>
1605        </tr>
1606        <tr>
1607          <td></td>
1608          <td>)</td>
1609          <td></td><td></td>
1610        </tr>
1611      </table>
1612</div>
1613<div class="memdoc">
1614<p>Compute the Nth root of a value.</p>
1615<p>Supports 1,2,3,4 components </p>
1616
1617</div>
1618</div>
1619<a class="anchor" id="aff4846ab5b947550814d5414a2c3626f"></a><!-- doxytag: member="rs_cl.rsh::round" ref="aff4846ab5b947550814d5414a2c3626f" args="(float)" -->
1620<div class="memitem">
1621<div class="memproto">
1622      <table class="memname">
1623        <tr>
1624          <td class="memname">float round </td>
1625          <td>(</td>
1626          <td class="paramtype">float&#160;</td>
1627          <td class="paramname"></td><td>)</td>
1628          <td></td>
1629        </tr>
1630      </table>
1631</div>
1632<div class="memdoc">
1633<p>Round to the nearest integral value. Half values are rounded away from zero.</p>
1634<p>Supports 1,2,3,4 components </p>
1635
1636</div>
1637</div>
1638<a class="anchor" id="a5db00fde9e6bff693a38f3a37e7a1f70"></a><!-- doxytag: member="rs_cl.rsh::rsqrt" ref="a5db00fde9e6bff693a38f3a37e7a1f70" args="(float v)" -->
1639<div class="memitem">
1640<div class="memproto">
1641      <table class="memname">
1642        <tr>
1643          <td class="memname">_RS_RUNTIME float rsqrt </td>
1644          <td>(</td>
1645          <td class="paramtype">float&#160;</td>
1646          <td class="paramname"><em>v</em></td><td>)</td>
1647          <td></td>
1648        </tr>
1649      </table>
1650</div>
1651<div class="memdoc">
1652<p>Return (1 / sqrt(value)).</p>
1653<dl><dt><b>Parameters:</b></dt><dd>
1654  <table class="params">
1655    <tr><td class="paramname">v</td><td>The incoming value in radians Supports 1,2,3,4 components </td></tr>
1656  </table>
1657  </dd>
1658</dl>
1659
1660</div>
1661</div>
1662<a class="anchor" id="a3e6d477a06dec7070f073eec9d8f420c"></a><!-- doxytag: member="rs_cl.rsh::sign" ref="a3e6d477a06dec7070f073eec9d8f420c" args="(float v)" -->
1663<div class="memitem">
1664<div class="memproto">
1665      <table class="memname">
1666        <tr>
1667          <td class="memname">_RS_RUNTIME float sign </td>
1668          <td>(</td>
1669          <td class="paramtype">float&#160;</td>
1670          <td class="paramname"><em>v</em></td><td>)</td>
1671          <td></td>
1672        </tr>
1673      </table>
1674</div>
1675<div class="memdoc">
1676<p>if (v &lt; 0) return -1.f; else if (v &gt; 0) return 1.f; else return 0.f;</p>
1677<p>Supports 1,2,3,4 components </p>
1678
1679</div>
1680</div>
1681<a class="anchor" id="a8c8cd526b44eb55aede77cf659f24306"></a><!-- doxytag: member="rs_cl.rsh::sin" ref="a8c8cd526b44eb55aede77cf659f24306" args="(float v)" -->
1682<div class="memitem">
1683<div class="memproto">
1684      <table class="memname">
1685        <tr>
1686          <td class="memname">float sin </td>
1687          <td>(</td>
1688          <td class="paramtype">float&#160;</td>
1689          <td class="paramname"><em>v</em></td><td>)</td>
1690          <td></td>
1691        </tr>
1692      </table>
1693</div>
1694<div class="memdoc">
1695<p>Return the sine of a value specified in radians.</p>
1696<dl><dt><b>Parameters:</b></dt><dd>
1697  <table class="params">
1698    <tr><td class="paramname">v</td><td>The incoming value in radians Supports 1,2,3,4 components </td></tr>
1699  </table>
1700  </dd>
1701</dl>
1702
1703</div>
1704</div>
1705<a class="anchor" id="a240f7c7c20b432a30dc660b5dd4cd320"></a><!-- doxytag: member="rs_cl.rsh::sincos" ref="a240f7c7c20b432a30dc660b5dd4cd320" args="(float v, float *cosptr)" -->
1706<div class="memitem">
1707<div class="memproto">
1708      <table class="memname">
1709        <tr>
1710          <td class="memname">_RS_RUNTIME float sincos </td>
1711          <td>(</td>
1712          <td class="paramtype">float&#160;</td>
1713          <td class="paramname"><em>v</em>, </td>
1714        </tr>
1715        <tr>
1716          <td class="paramkey"></td>
1717          <td></td>
1718          <td class="paramtype">float *&#160;</td>
1719          <td class="paramname"><em>cosptr</em>&#160;</td>
1720        </tr>
1721        <tr>
1722          <td></td>
1723          <td>)</td>
1724          <td></td><td></td>
1725        </tr>
1726      </table>
1727</div>
1728<div class="memdoc">
1729<p>Return the sine and cosine of a value.</p>
1730<dl class="return"><dt><b>Returns:</b></dt><dd>sine </dd></dl>
1731<dl><dt><b>Parameters:</b></dt><dd>
1732  <table class="params">
1733    <tr><td class="paramname">v</td><td>The incoming value in radians </td></tr>
1734    <tr><td class="paramname">*cosptr</td><td>cosptr[0] will be set to the cosine value.</td></tr>
1735  </table>
1736  </dd>
1737</dl>
1738<p>Supports 1,2,3,4 components </p>
1739
1740</div>
1741</div>
1742<a class="anchor" id="ae686e0cc567f7ee2b0a84706aa486e4a"></a><!-- doxytag: member="rs_cl.rsh::sinh" ref="ae686e0cc567f7ee2b0a84706aa486e4a" args="(float)" -->
1743<div class="memitem">
1744<div class="memproto">
1745      <table class="memname">
1746        <tr>
1747          <td class="memname">float sinh </td>
1748          <td>(</td>
1749          <td class="paramtype">float&#160;</td>
1750          <td class="paramname"></td><td>)</td>
1751          <td></td>
1752        </tr>
1753      </table>
1754</div>
1755<div class="memdoc">
1756<p>Return the hyperbolic sine of a value specified in radians.</p>
1757<p>Supports 1,2,3,4 components </p>
1758
1759</div>
1760</div>
1761<a class="anchor" id="a4fe4fef049786e888526d6f37b912b0a"></a><!-- doxytag: member="rs_cl.rsh::sinpi" ref="a4fe4fef049786e888526d6f37b912b0a" args="(float v)" -->
1762<div class="memitem">
1763<div class="memproto">
1764      <table class="memname">
1765        <tr>
1766          <td class="memname">_RS_RUNTIME float sinpi </td>
1767          <td>(</td>
1768          <td class="paramtype">float&#160;</td>
1769          <td class="paramname"><em>v</em></td><td>)</td>
1770          <td></td>
1771        </tr>
1772      </table>
1773</div>
1774<div class="memdoc">
1775<p>Return the sin(v * PI).</p>
1776<p>Supports 1,2,3,4 components </p>
1777
1778</div>
1779</div>
1780<a class="anchor" id="a92da0faef80c4d8f66e954c8c169a729"></a><!-- doxytag: member="rs_cl.rsh::sqrt" ref="a92da0faef80c4d8f66e954c8c169a729" args="(float)" -->
1781<div class="memitem">
1782<div class="memproto">
1783      <table class="memname">
1784        <tr>
1785          <td class="memname">float sqrt </td>
1786          <td>(</td>
1787          <td class="paramtype">float&#160;</td>
1788          <td class="paramname"></td><td>)</td>
1789          <td></td>
1790        </tr>
1791      </table>
1792</div>
1793<div class="memdoc">
1794<p>Return the square root of a value.</p>
1795<p>Supports 1,2,3,4 components </p>
1796
1797</div>
1798</div>
1799<a class="anchor" id="a4f7ba6882099d16853d0415982121900"></a><!-- doxytag: member="rs_cl.rsh::step" ref="a4f7ba6882099d16853d0415982121900" args="(float edge, float v)" -->
1800<div class="memitem">
1801<div class="memproto">
1802      <table class="memname">
1803        <tr>
1804          <td class="memname">_RS_RUNTIME <a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> step </td>
1805          <td>(</td>
1806          <td class="paramtype">float&#160;</td>
1807          <td class="paramname"><em>edge</em>, </td>
1808        </tr>
1809        <tr>
1810          <td class="paramkey"></td>
1811          <td></td>
1812          <td class="paramtype">float&#160;</td>
1813          <td class="paramname"><em>v</em>&#160;</td>
1814        </tr>
1815        <tr>
1816          <td></td>
1817          <td>)</td>
1818          <td></td><td></td>
1819        </tr>
1820      </table>
1821</div>
1822<div class="memdoc">
1823<p>if (v &lt; edge) return 0.f; else return 1.f;</p>
1824<p>Supports 1,2,3,4 components </p>
1825
1826</div>
1827</div>
1828<a class="anchor" id="af12e245af8ff9bb72b5000e7c26cd8fe"></a><!-- doxytag: member="rs_cl.rsh::tan" ref="af12e245af8ff9bb72b5000e7c26cd8fe" args="(float v)" -->
1829<div class="memitem">
1830<div class="memproto">
1831      <table class="memname">
1832        <tr>
1833          <td class="memname">float tan </td>
1834          <td>(</td>
1835          <td class="paramtype">float&#160;</td>
1836          <td class="paramname"><em>v</em></td><td>)</td>
1837          <td></td>
1838        </tr>
1839      </table>
1840</div>
1841<div class="memdoc">
1842<p>Return the tangent of a value.</p>
1843<p>Supports 1,2,3,4 components </p>
1844<dl><dt><b>Parameters:</b></dt><dd>
1845  <table class="params">
1846    <tr><td class="paramname">v</td><td>The incoming value in radians </td></tr>
1847  </table>
1848  </dd>
1849</dl>
1850
1851</div>
1852</div>
1853<a class="anchor" id="abc36e89ddb87ea78451d1c5921ddbd8d"></a><!-- doxytag: member="rs_cl.rsh::tanh" ref="abc36e89ddb87ea78451d1c5921ddbd8d" args="(float)" -->
1854<div class="memitem">
1855<div class="memproto">
1856      <table class="memname">
1857        <tr>
1858          <td class="memname">float tanh </td>
1859          <td>(</td>
1860          <td class="paramtype">float&#160;</td>
1861          <td class="paramname"></td><td>)</td>
1862          <td></td>
1863        </tr>
1864      </table>
1865</div>
1866<div class="memdoc">
1867<p>Return the hyperbolic tangent of a value.</p>
1868<p>Supports 1,2,3,4 components </p>
1869<dl><dt><b>Parameters:</b></dt><dd>
1870  <table class="params">
1871    <tr><td class="paramname">v</td><td>The incoming value in radians </td></tr>
1872  </table>
1873  </dd>
1874</dl>
1875
1876</div>
1877</div>
1878<a class="anchor" id="ad8bfb083dd3979a305e594a0d6e581c4"></a><!-- doxytag: member="rs_cl.rsh::tanpi" ref="ad8bfb083dd3979a305e594a0d6e581c4" args="(float v)" -->
1879<div class="memitem">
1880<div class="memproto">
1881      <table class="memname">
1882        <tr>
1883          <td class="memname">_RS_RUNTIME float tanpi </td>
1884          <td>(</td>
1885          <td class="paramtype">float&#160;</td>
1886          <td class="paramname"><em>v</em></td><td>)</td>
1887          <td></td>
1888        </tr>
1889      </table>
1890</div>
1891<div class="memdoc">
1892<p>Return tan(v * PI)</p>
1893<p>Supports 1,2,3,4 components </p>
1894
1895</div>
1896</div>
1897<a class="anchor" id="ab9f4cbfd2470420ee302f28cf3de6dd0"></a><!-- doxytag: member="rs_cl.rsh::tgamma" ref="ab9f4cbfd2470420ee302f28cf3de6dd0" args="(float)" -->
1898<div class="memitem">
1899<div class="memproto">
1900      <table class="memname">
1901        <tr>
1902          <td class="memname">float tgamma </td>
1903          <td>(</td>
1904          <td class="paramtype">float&#160;</td>
1905          <td class="paramname"></td><td>)</td>
1906          <td></td>
1907        </tr>
1908      </table>
1909</div>
1910<div class="memdoc">
1911<p>Compute the gamma function of a value.</p>
1912<p>Supports 1,2,3,4 components </p>
1913
1914</div>
1915</div>
1916<a class="anchor" id="ad1a7c65693231219db1babeae1c41f15"></a><!-- doxytag: member="rs_cl.rsh::trunc" ref="ad1a7c65693231219db1babeae1c41f15" args="(float)" -->
1917<div class="memitem">
1918<div class="memproto">
1919      <table class="memname">
1920        <tr>
1921          <td class="memname">float trunc </td>
1922          <td>(</td>
1923          <td class="paramtype">float&#160;</td>
1924          <td class="paramname"></td><td>)</td>
1925          <td></td>
1926        </tr>
1927      </table>
1928</div>
1929<div class="memdoc">
1930<p>Round to integral using truncation.</p>
1931<p>Supports 1,2,3,4 components </p>
1932
1933</div>
1934</div>
1935</div>
1936
1937</body>
1938</html>
1939