Visible to Intel only — GUID: GUID-F53E489A-4401-45A0-9016-23E3D33477E9
Visible to Intel only — GUID: GUID-F53E489A-4401-45A0-9016-23E3D33477E9
v?Trunc
Computes an integer value rounded towards zero for each vector element.
call vstrunc( n, a, y )
call vstrunci(n, a, inca, y, incy)
call vmstrunc( n, a, y, mode )
call vmstrunci(n, a, inca, y, incy, mode)
call vdtrunc( n, a, y )
call vdtrunci(n, a, inca, y, incy)
call vmdtrunc( n, a, y, mode )
call vmdtrunci(n, a, inca, y, incy, mode)
- mkl_vml.f90
Name |
Type |
Description |
---|---|---|
n |
INTEGER, INTENT(IN) |
Specifies the number of elements to be calculated. |
a |
DOUBLE PRECISION for vdTrunc, vmdTrunc REAL, INTENT(IN) for vsTrunc, vmsTrunc DOUBLE PRECISION, INTENT(IN) for vdTrunc, vmdTrunc |
Array that specifies the input vector a. |
inca, incy |
INTEGER, INTENT(IN) |
Specifies increments for the elements of a and y. |
mode |
INTEGER(KIND=8), INTENT(IN) |
Overrides global VM mode setting for this function call. See vmlSetMode for possible values and their description. |
Name |
Type |
Description |
---|---|---|
y |
DOUBLE PRECISION for vdTrunc, vmdTrunc REAL, INTENT(OUT) for vsTrunc, vmsTrunc DOUBLE PRECISION, INTENT(OUT) for vdTrunc, vmdTrunc |
Array that specifies the output vector y. |
The function computes an integer value rounded towards zero for each vector element.
Argument | Result | Exception |
---|---|---|
+0 | +0 | |
-0 | -0 | |
+∞ | +∞ | |
-∞ | -∞ | |
SNAN | QNAN | INVALID |
QNAN | QNAN |