exp,_exp2,_exp10,_expm1_(including_half__and_native_) - Exponent functions.
Contents
Copyright
Copyright © 2007-2011 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or
associated documentation files (the "Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to
the condition that this copyright notice and permission notice shall be included in all copies or
substantial portions of the Materials.
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]
