logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

exp,_exp2,_exp10,_expm1_(including_half__and_native_) - Exponent functions.

Authors

TheKhronosGroup

Description

exp computes the base- e exponential of x.

       exp2 is the exponential base 2 function.

       exp10 is the exponential base 10 function.

       expm1 computes ex - 1.0.

       half_exp computes the base- e exponential of x.

       half_exp2 computes the base- 2 exponential of x.

       half_exp10 computes the base- 10 exponential of x.

       native_exp computes the base- e exponential of x over an implementation-defined range. The maximum error
       is implementation-defined.

       native_exp2 computes the base- 2 exponential of x over an implementation-defined range. The maximum error
       is implementation-defined.

       native_exp10 computes the base- 10 exponential of x over an implementation-defined range. The maximum
       error is implementation-defined.

Name

       exp,_exp2,_exp10,_expm1_(including_half__and_native_) - Exponent functions.

       gentypeexp(gentypex);gentypeexp2(gentype);gentypeexp10(gentype);gentypeexpm1(gentypex);gentypehalf_exp(gentypex);gentypehalf_exp2(gentypex);gentypehalf_exp10(gentypex);gentypenative_exp(gentypex);gentypenative_exp2(gentypex);gentypenative_exp10(gentypex);

Notes

        1. OpenCL Specification
           page 244, section 6.12.2 - Math Functions

The Khronos Group                                  11/18/2024                         EXP,EXP2,EXP10,EX(3clc)

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also