LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Classes Files Functions Variables Typedefs Macros
ieeeck.f File Reference

Go to the source code of this file.

Functions/Subroutines

INTEGER function ieeeck (ISPEC, ZERO, ONE)
 IEEECK More...
 

Function/Subroutine Documentation

INTEGER function ieeeck ( integer  ISPEC,
real  ZERO,
real  ONE 
)

IEEECK

Download IEEECK + dependencies [TGZ] [ZIP] [TXT]
Purpose:
 IEEECK is called from the ILAENV to verify that Infinity and
 possibly NaN arithmetic is safe (i.e. will not trap).
Parameters
[in]ISPEC
          ISPEC is INTEGER
          Specifies whether to test just for inifinity arithmetic
          or whether to test for infinity and NaN arithmetic.
          = 0: Verify infinity arithmetic only.
          = 1: Verify infinity and NaN arithmetic.
[in]ZERO
          ZERO is REAL
          Must contain the value 0.0
          This is passed to prevent the compiler from optimizing
          away this code.
[in]ONE
          ONE is REAL
          Must contain the value 1.0
          This is passed to prevent the compiler from optimizing
          away this code.

  RETURN VALUE:  INTEGER
          = 0:  Arithmetic failed to produce the correct answers
          = 1:  Arithmetic produced the correct answers
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
November 2011

Definition at line 83 of file ieeeck.f.

Here is the call graph for this function: