1 INTEGER FUNCTION ilaenv( ISPEC, NAME, OPTS, N1, N2, N3,
10 CHARACTER*( * ) name, opts
11 INTEGER ispec, n1, n2, n3, n4
110 INTEGER i, ic, iz, nb, nbmin, nx
113 INTRINSIC char, ichar, int, min, real
121 GO TO ( 100, 100, 100, 400, 500, 600, 700, 800, 900, 1000,
135 ic = ichar( subnam( 1:1 ) )
137 IF( iz.EQ.90 .OR. iz.EQ.122 )
THEN
141 IF( ic.GE.97 .AND. ic.LE.122 )
THEN
142 subnam( 1:1 ) = char( ic-32 )
144 ic = ichar( subnam( i:i ) )
145 IF( ic.GE.97 .AND. ic.LE.122 )
146 $ subnam( i:i ) = char( ic-32 )
150 ELSE IF( iz.EQ.233 .OR. iz.EQ.169 )
THEN
154 IF( ( ic.GE.129 .AND. ic.LE.137 ) .OR.
155 $ ( ic.GE.145 .AND. ic.LE.153 ) .OR.
156 $ ( ic.GE.162 .AND. ic.LE.169 ) )
THEN
157 subnam( 1:1 ) = char( ic+64 )
159 ic = ichar( subnam( i:i ) )
160 IF( ( ic.GE.129 .AND. ic.LE.137 ) .OR.
161 $ ( ic.GE.145 .AND. ic.LE.153 ) .OR.
162 $ ( ic.GE.162 .AND. ic.LE.169 ) )
163 $ subnam( i:i ) = char( ic+64 )
167 ELSE IF( iz.EQ.218 .OR. iz.EQ.250 )
THEN
171 IF( ic.GE.225 .AND. ic.LE.250 )
THEN
172 subnam( 1:1 ) = char( ic-32 )
174 ic = ichar( subnam( i:i ) )
175 IF( ic.GE.225 .AND. ic.LE.250 )
176 $ subnam( i:i ) = char( ic-32 )
182 sname = c1.EQ.
'S' .OR. c1.EQ.
'D'
183 cname = c1.EQ.
'C' .OR. c1.EQ.
'Z'
184 IF( .NOT.( cname .OR. sname ) )
190 GO TO ( 110, 200, 300 ) ispec
202 IF( c2.EQ.
'GE' )
THEN
203 IF( c3.EQ.
'TRF' )
THEN
209 ELSE IF( c3.EQ.
'QRF' .OR. c3.EQ.
'RQF' .OR. c3.EQ.
'LQF' .OR.
216 ELSE IF( c3.EQ.
'HRD' )
THEN
222 ELSE IF( c3.EQ.
'BRD' )
THEN
228 ELSE IF( c3.EQ.
'TRI' )
THEN
235 ELSE IF( c2.EQ.
'PO' )
THEN
236 IF( c3.EQ.
'TRF' )
THEN
243 ELSE IF( c2.EQ.
'SY' )
THEN
244 IF( c3.EQ.
'TRF' )
THEN
250 ELSE IF( sname .AND. c3.EQ.
'TRD' )
THEN
252 ELSE IF( sname .AND. c3.EQ.
'GST' )
THEN
255 ELSE IF( cname .AND. c2.EQ.
'HE' )
THEN
256 IF( c3.EQ.
'TRF' )
THEN
258 ELSE IF( c3.EQ.
'TRD' )
THEN
260 ELSE IF( c3.EQ.
'GST' )
THEN
263 ELSE IF( sname .AND. c2.EQ.
'OR' )
THEN
264 IF( c3( 1:1 ).EQ.
'G' )
THEN
265 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
266 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
270 ELSE IF( c3( 1:1 ).EQ.
'M' )
THEN
271 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
272 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
277 ELSE IF( cname .AND. c2.EQ.
'UN' )
THEN
278 IF( c3( 1:1 ).EQ.
'G' )
THEN
279 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
280 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
284 ELSE IF( c3( 1:1 ).EQ.
'M' )
THEN
285 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
286 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
291 ELSE IF( c2.EQ.
'GB' )
THEN
292 IF( c3.EQ.
'TRF' )
THEN
307 ELSE IF( c2.EQ.
'PB' )
THEN
308 IF( c3.EQ.
'TRF' )
THEN
323 ELSE IF( c2.EQ.
'TR' )
THEN
324 IF( c3.EQ.
'TRI' )
THEN
331 ELSE IF( c2.EQ.
'LA' )
THEN
332 IF( c3.EQ.
'UUM' )
THEN
339 ELSE IF( sname .AND. c2.EQ.
'ST' )
THEN
340 IF( c3.EQ.
'EBZ' )
THEN
352 IF( c2.EQ.
'GE' )
THEN
353 IF( c3.EQ.
'QRF' .OR. c3.EQ.
'RQF' .OR. c3.EQ.
'LQF' .OR.
360 ELSE IF( c3.EQ.
'HRD' )
THEN
366 ELSE IF( c3.EQ.
'BRD' )
THEN
372 ELSE IF( c3.EQ.
'TRI' )
THEN
379 ELSE IF( c2.EQ.
'SY' )
THEN
380 IF( c3.EQ.
'TRF' )
THEN
386 ELSE IF( sname .AND. c3.EQ.
'TRD' )
THEN
389 ELSE IF( cname .AND. c2.EQ.
'HE' )
THEN
390 IF( c3.EQ.
'TRD' )
THEN
393 ELSE IF( sname .AND. c2.EQ.
'OR' )
THEN
394 IF( c3( 1:1 ).EQ.
'G' )
THEN
395 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
396 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
400 ELSE IF( c3( 1:1 ).EQ.
'M' )
THEN
401 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
402 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
407 ELSE IF( cname .AND. c2.EQ.
'UN' )
THEN
408 IF( c3( 1:1 ).EQ.
'G' )
THEN
409 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
410 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
414 ELSE IF( c3( 1:1 ).EQ.
'M' )
THEN
415 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
416 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
430 IF( c2.EQ.
'GE' )
THEN
431 IF( c3.EQ.
'QRF' .OR. c3.EQ.
'RQF' .OR. c3.EQ.
'LQF' .OR.
438 ELSE IF( c3.EQ.
'HRD' )
THEN
444 ELSE IF( c3.EQ.
'BRD' )
THEN
451 ELSE IF( c2.EQ.
'SY' )
THEN
452 IF( sname .AND. c3.EQ.
'TRD' )
THEN
455 ELSE IF( cname .AND. c2.EQ.
'HE' )
THEN
456 IF( c3.EQ.
'TRD' )
THEN
459 ELSE IF( sname .AND. c2.EQ.
'OR' )
THEN
460 IF( c3( 1:1 ).EQ.
'G' )
THEN
461 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
462 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
467 ELSE IF( cname .AND. c2.EQ.
'UN' )
THEN
468 IF( c3( 1:1 ).EQ.
'G' )
THEN
469 IF( c4.EQ.
'QR' .OR. c4.EQ.
'RQ' .OR. c4.EQ.
'LQ' .OR.
470 $ c4.EQ.
'QL' .OR. c4.EQ.
'HR' .OR. c4.EQ.
'TR' .OR.
497 ilaenv = int( real( min( n1, n2 ) )*1.6e0 )
integer function ieeeck(ISPEC, ZERO, ONE)
integer function ilaenv(ISPEC, NAME, OPTS, N1, N2, N3, N4)