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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
*> \brief \b SLAMCHTST
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*
* Authors:
* ========
*
*> \author Univ. of Tennessee
*> \author Univ. of California Berkeley
*> \author Univ. of Colorado Denver
*> \author NAG Ltd.
*
*> \date November 2011
*
*> \ingroup auxOTHERcomputational
*
* ===================================================================== PROGRAM SLAMCHTST
*
* -- LAPACK test routine (version 3.4.0) --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
* November 2011
*
* =====================================================================
*
* .. Local Scalars ..
REAL BASE, EMAX, EMIN, EPS, RMAX, RMIN, RND, SFMIN,
$ T, PREC
* ..
* .. External Functions ..
REAL SLAMCH
EXTERNAL SLAMCH
* ..
* .. Executable Statements ..
*
EPS = SLAMCH( 'Epsilon' )
SFMIN = SLAMCH( 'Safe minimum' )
BASE = SLAMCH( 'Base' )
PREC = SLAMCH( 'Precision' )
T = SLAMCH( 'Number of digits in mantissa' )
RND = SLAMCH( 'Rounding mode' )
EMIN = SLAMCH( 'Minimum exponent' )
RMIN = SLAMCH( 'Underflow threshold' )
EMAX = SLAMCH( 'Largest exponent' )
RMAX = SLAMCH( 'Overflow threshold' )
*
WRITE( 6, * )' Epsilon = ', EPS
WRITE( 6, * )' Safe minimum = ', SFMIN
WRITE( 6, * )' Base = ', BASE
WRITE( 6, * )' Precision = ', PREC
WRITE( 6, * )' Number of digits in mantissa = ', T
WRITE( 6, * )' Rounding mode = ', RND
WRITE( 6, * )' Minimum exponent = ', EMIN
WRITE( 6, * )' Underflow threshold = ', RMIN
WRITE( 6, * )' Largest exponent = ', EMAX
WRITE( 6, * )' Overflow threshold = ', RMAX
WRITE( 6, * )' Reciprocal of safe minimum = ', 1 / SFMIN
*
END
|