1IEEECK(1)           LAPACK auxiliary routine (version 3.2)           IEEECK(1)
2
3
4

NAME

6       IEEECK - is called from the ILAENV to verify that Infinity and possibly
7       NaN arithmetic is safe (i.e
8

SYNOPSIS

10       INTEGER FUNCTION IEEECK( ISPEC, ZERO, ONE )
11
12           INTEGER      ISPEC
13
14           REAL         ONE, ZERO
15

PURPOSE

17       IEEECK is called from the ILAENV to verify that Infinity  and  possibly
18       NaN arithmetic is safe (i.e. will not trap).
19

ARGUMENTS

21       ISPEC   (input) INTEGER
22               Specifies  whether  to  test  just  for inifinity arithmetic or
23               whether to test for infinity and NaN arithmetic.  =  0:  Verify
24               infinity arithmetic only.
25               = 1: Verify infinity and NaN arithmetic.
26
27       ZERO    (input) REAL
28               Must  contain  the value 0.0 This is passed to prevent the com‐
29               piler from optimizing away this code.
30
31       ONE     (input) REAL
32               Must contain the value 1.0 This is passed to prevent  the  com‐
33               piler from optimizing away this code.  RETURN VALUE:  INTEGER =
34               0:  Arithmetic failed to produce the correct answers
35               = 1:  Arithmetic produced the correct answers Return if we were
36               only asked to check infinity arithmetic
37
38
39
40 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008                       IEEECK(1)
Impressum