113 DOUBLE PRECISION ayb( n, nrhs ), berr( nrhs )
114 COMPLEX*16 res( n, nrhs )
125 INTRINSIC abs,
REAL, dimag, max
130 DOUBLE PRECISION safe1
136 cabs1( cdum ) = abs( dble( cdum ) ) + abs( dimag( cdum ) )
144 safe1 =
dlamch(
'Safe minimum' )
150 IF (ayb(i,j) .NE. 0.0d+0)
THEN
151 tmp = (safe1 + cabs1(res(i,j)))/ayb(i,j)
152 berr(j) = max( berr(j), tmp )