Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
ieeeck
Checks if the infinity and NaN arithmetic is safe. Called by ilaenv .
Syntax
ivalieeeck ( ispec , zero , one )
Include Files
mkl.fi
Description
ieeeck
The function ieeeck is called from ilaenv (Environmental enquiry function that returns values for tuning algorithmic performance.) to verify that infinity and possibly NaN arithmetic is safe, that is, will not trap.
Input Parameters
- ispec
-
INTEGER . Specifies whether to test just for infinity arithmetic or both for infinity and NaN arithmetic: If ispec = 0 : Verify infinity arithmetic only. If ispec = 1 : Verify infinity and NaN arithmetic.
- zero
-
REAL . Must contain the value 0.0 This is passed to prevent the compiler from optimizing away this code.
- one
-
REAL . Must contain the value 1.0 This is passed to prevent the compiler from optimizing away this code.
Output Parameters
- ival
-
INTEGER . If ival = 0 : Arithmetic failed to produce the correct answers. If ival = 1 : Arithmetic produced the correct answers.