Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-31AB6406-63B6-461E-9331-8FCA6EE2A39E
Visible to Intel only — GUID: GUID-31AB6406-63B6-461E-9331-8FCA6EE2A39E
vmlgetmode
Gets the VM mode.
Syntax
mod = vmlgetmode()
Include Files
- mkl_vml.f90
Output Parameters
Name |
Type |
Description |
---|---|---|
mod |
INTEGER |
Specifies the packed mode parameter. |
Description
The function vmlgetmode returns the VM mode parameter that controls accuracy, handling of denormalized numbers, and error handling options. The mod variable value is a combination of the values listed in the table "Values of the mode Parameter". You can obtain these values using the respective mask from the table "Values of Mask for the mode Parameter".
Value of mask | Description |
---|---|
VML_ACCURACY_MASK | Specifies mask for accuracy mode selection. |
VML_FTZDAZ_MASK | Specifies mask for FTZDAZ mode selection. |
VML_ERRMODE_MASK | Specifies mask for error mode selection. |
See example below:
Examples
mod = vmlgetmode()
accm = IAND(mod, VML_ACCURACY_MASK)
denm = IAND(mod, VML_FTZDAZ_MASK)
errm = IAND(mod, VML_ERRMODE_MASK)