File: ieeeck

package info (click to toggle)
ruby-lapack 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 28,552 kB
  • sloc: ansic: 191,612; ruby: 3,934; makefile: 8
file content (49 lines) | stat: -rwxr-xr-x 1,556 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- 
:name: ieeeck
:md5sum: 912297d3164c5b304dfe88d1002d97b1
:category: :function
:type: integer
:arguments: 
- ispec: 
    :type: integer
    :intent: input
- zero: 
    :type: real
    :intent: input
- one: 
    :type: real
    :intent: input
:substitutions: {}

:fortran_help: "      INTEGER          FUNCTION IEEECK( ISPEC, ZERO, ONE )\n\n\
  *  Purpose\n\
  *  =======\n\
  *\n\
  *  IEEECK is called from the ILAENV to verify that Infinity and\n\
  *  possibly NaN arithmetic is safe (i.e. will not trap).\n\
  *\n\n\
  *  Arguments\n\
  *  =========\n\
  *\n\
  *  ISPEC   (input) INTEGER\n\
  *          Specifies whether to test just for inifinity arithmetic\n\
  *          or whether to test for infinity and NaN arithmetic.\n\
  *          = 0: Verify infinity arithmetic only.\n\
  *          = 1: Verify infinity and NaN arithmetic.\n\
  *\n\
  *  ZERO    (input) REAL\n\
  *          Must contain the value 0.0\n\
  *          This is passed to prevent the compiler from optimizing\n\
  *          away this code.\n\
  *\n\
  *  ONE     (input) REAL\n\
  *          Must contain the value 1.0\n\
  *          This is passed to prevent the compiler from optimizing\n\
  *          away this code.\n\
  *\n\
  *  RETURN VALUE:  INTEGER\n\
  *          = 0:  Arithmetic failed to produce the correct answers\n\
  *          = 1:  Arithmetic produced the correct answers\n\
  *\n\
  *     .. Local Scalars ..\n      REAL               NAN1, NAN2, NAN3, NAN4, NAN5, NAN6, NEGINF,\n     $                   NEGZRO, NEWZRO, POSINF\n\
  *     ..\n"