Lines Matching refs:exponent
2026 * frexp: Binary mantissa and exponent
2028 * Returns the binary mantissa and exponent of v, i.e. v == mantissa * 2 ^ exponent.
2036 * exponent: If exponent is not null, *exponent will be set to the exponent of v.
2039 frexp(float v, int* exponent);
2042 frexp(float2 v, int2* exponent);
2045 frexp(float3 v, int3* exponent);
2048 frexp(float4 v, int4* exponent);
2052 frexp(half v, int* exponent);
2057 frexp(half2 v, int2* exponent);
2062 frexp(half3 v, int3* exponent);
2067 frexp(half4 v, int4* exponent);
2197 * ilogb: Base two exponent
2199 * Returns the base two exponent of a value, where the mantissa is between
2241 * ldexp: Creates a floating point from mantissa and exponent
2243 * Returns the floating point created from the mantissa and exponent,
2244 * i.e. (mantissa * 2 ^ exponent).
2250 * exponent: Exponent, a single component or matching vector.
2253 ldexp(float mantissa, int exponent);
2256 ldexp(float2 mantissa, int2 exponent);
2259 ldexp(float3 mantissa, int3 exponent);
2262 ldexp(float4 mantissa, int4 exponent);
2266 ldexp(half mantissa, int exponent);
2271 ldexp(half2 mantissa, int2 exponent);
2276 ldexp(half3 mantissa, int3 exponent);
2281 ldexp(half4 mantissa, int4 exponent);
2285 ldexp(float2 mantissa, int exponent);
2288 ldexp(float3 mantissa, int exponent);
2291 ldexp(float4 mantissa, int exponent);
2295 ldexp(half2 mantissa, int exponent);
2300 ldexp(half3 mantissa, int exponent);
2305 ldexp(half4 mantissa, int exponent);
2540 * logb: Base two exponent
2542 * Returns the base two exponent of a value, where the mantissa is between
4893 * native_powr: Approximate positive base raised to an exponent
4895 * Fast approximate (base ^ exponent).
4901 * exponent: Must be between -15.f and 15.f.
4905 native_powr(float base, float exponent);
4910 native_powr(float2 base, float2 exponent);
4915 native_powr(float3 base, float3 exponent);
4920 native_powr(float4 base, float4 exponent);
4925 native_powr(half base, half exponent);
4930 native_powr(half2 base, half2 exponent);
4935 native_powr(half3 base, half3 exponent);
4940 native_powr(half4 base, half4 exponent);
5509 * pow: Base raised to an exponent
5511 * Returns base raised to the power exponent, i.e. base ^ exponent.
5513 * pown() and powr() are similar. pown() takes an integer exponent. powr() assumes the
5517 pow(float base, float exponent);
5520 pow(float2 base, float2 exponent);
5523 pow(float3 base, float3 exponent);
5526 pow(float4 base, float4 exponent);
5530 pow(half base, half exponent);
5535 pow(half2 base, half2 exponent);
5540 pow(half3 base, half3 exponent);
5545 pow(half4 base, half4 exponent);
5549 * pown: Base raised to an integer exponent
5551 * Returns base raised to the power exponent, i.e. base ^ exponent.
5553 * pow() and powr() are similar. The both take a float exponent. powr() also assumes the
5557 pown(float base, int exponent);
5560 pown(float2 base, int2 exponent);
5563 pown(float3 base, int3 exponent);
5566 pown(float4 base, int4 exponent);
5570 pown(half base, int exponent);
5575 pown(half2 base, int2 exponent);
5580 pown(half3 base, int3 exponent);
5585 pown(half4 base, int4 exponent);
5589 * powr: Positive base raised to an exponent
5591 * Returns base raised to the power exponent, i.e. base ^ exponent. base must be >= 0.
5594 * pow() takes a float exponent while pown() take an integer.
5599 powr(float base, float exponent);
5602 powr(float2 base, float2 exponent);
5605 powr(float3 base, float3 exponent);
5608 powr(float4 base, float4 exponent);
5612 powr(half base, half exponent);
5617 powr(half2 base, half2 exponent);
5622 powr(half3 base, half3 exponent);
5627 powr(half4 base, half4 exponent);