LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
slabad.f
Go to the documentation of this file.
1*> \brief \b SLABAD
2*
3* =========== DOCUMENTATION ===========
4*
5* Online html documentation available at
6* http://www.netlib.org/lapack/explore-html/
7*
8*> \htmlonly
9*> Download SLABAD + dependencies
10*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slabad.f">
11*> [TGZ]</a>
12*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/slabad.f">
13*> [ZIP]</a>
14*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/slabad.f">
15*> [TXT]</a>
16*> \endhtmlonly
17*
18* Definition:
19* ===========
20*
21* SUBROUTINE SLABAD( SMALL, LARGE )
22*
23* .. Scalar Arguments ..
24* REAL LARGE, SMALL
25* ..
26*
27*
28*> \par Purpose:
29* =============
30*>
31*> \verbatim
32*>
33*> SLABAD is a no-op and kept for compatibility reasons. It used
34*> to correct the overflow/underflow behavior of machines that
35*> are not IEEE-754 compliant.
36*> \endverbatim
37*
38* Arguments:
39* ==========
40*
41*> \param[in,out] SMALL
42*> \verbatim
43*> SMALL is REAL
44*> On entry, the underflow threshold as computed by SLAMCH.
45*> On exit, the unchanged value SMALL.
46*> \endverbatim
47*>
48*> \param[in,out] LARGE
49*> \verbatim
50*> LARGE is REAL
51*> On entry, the overflow threshold as computed by SLAMCH.
52*> On exit, the unchanged value LARGE.
53*> \endverbatim
54*
55* Authors:
56* ========
57*
58*> \author Univ. of Tennessee
59*> \author Univ. of California Berkeley
60*> \author Univ. of Colorado Denver
61*> \author NAG Ltd.
62*
63*> \ingroup labad
64*
65* =====================================================================
66 SUBROUTINE slabad( SMALL, LARGE )
67*
68* -- LAPACK auxiliary routine --
69* -- LAPACK is a software package provided by Univ. of Tennessee, --
70* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
71*
72* .. Scalar Arguments ..
73 REAL LARGE, SMALL
74* ..
75*
76* =====================================================================
77*
78* .. Intrinsic Functions ..
79 INTRINSIC log10, sqrt
80* ..
81* .. Executable Statements ..
82*
83* If it looks like we're on a Cray, take the square root of
84* SMALL and LARGE to avoid overflow and underflow problems.
85*
86* IF( LOG10( LARGE ).GT.2000. ) THEN
87* SMALL = SQRT( SMALL )
88* LARGE = SQRT( LARGE )
89* END IF
90*
91 RETURN
92*
93* End of SLABAD
94*
95 END
subroutine slabad(small, large)
SLABAD
Definition slabad.f:67