Visible to Intel only — GUID: GUID-11DFDF1B-D77C-4ACD-91F5-F25899230E3D
Visible to Intel only — GUID: GUID-11DFDF1B-D77C-4ACD-91F5-F25899230E3D
v?Exp2
Computes the base 2 exponential of vector elements.
call vsexp2 (n, a, y)
call vsexp2i(n, a, inca, y, incy)
call vmsexp2 (n, a, y, mode)
call vmsexp2i(n, a, inca, y, incy, mode)
call vdexp2 (n, a, y)
call vdexp2i(n, a, inca, y, incy)
call vmdexp2 (n, a, y, mode)
call vmdexp2i(n, a, inca, y, incy, mode)
- mkl_vml.f90
Name |
Type |
Description |
---|---|---|
n |
INTEGER |
Specifies the number of elements to be calculated. |
a |
REAL for vsExp2 REAL for vmsExp2 DOUBLE PRECISION for vdExp2 DOUBLE PRECISION for vmdExp2 |
Pointer to the array containing the input vector a. |
inca, incy |
INTEGER, INTENT(IN) |
Specifies increments for the elements of a and y. |
mode |
INTEGER (KIND=8) |
Overrides the global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Name |
Type |
Description |
---|---|---|
y |
REAL for vsExp2 REAL for vmsExp2 DOUBLE PRECISION for vdExp2 DOUBLE PRECISION for vmdExp2 |
Pointer to an array containing the output vector y. |
The v?Exp2 function computes the base 2 exponential of vector elements.
Data Type | Threshold Limitations on Input Parameters |
---|---|
single precision | ai < log2(FLT_MAX) |
double precision | ai < log2(DBL_MAX) |
See Special Value Notations for the conventions used in this table:
Argument | Result | VM Error Status | Exception |
---|---|---|---|
+0 | +1 | ||
-0 | +1 | ||
x > overflow | +∞ | VML_STATUS_OVERFLOW | OVERFLOW |
x < underflow | +0 | VML_STATUS_UNDERFLOW | UNDERFLOW |
+∞ | +∞ | ||
-∞ | +0 | ||
QNAN | QNAN | ||
SNAN | QNAN | INVALID |