Visible to Intel only — GUID: GUID-CD7624A8-BF8C-4276-892B-231FFBCEDA33
Visible to Intel only — GUID: GUID-CD7624A8-BF8C-4276-892B-231FFBCEDA33
p?labad
Returns the square root of the underflow and overflow thresholds if the exponent-range is very large.
call pslabad(ictxt, small, large)
call pdlabad(ictxt, small, large)
The p?labadroutine takes as input the values computed by p?lamch for underflow and overflow, and returns the square root of each of these values if the log of large is sufficiently large. This subroutine is intended to identify machines with a large exponent range, such as the Crays, and redefine the underflow and overflow limits to be the square roots of the values computed by p?lamch. This subroutine is needed because p?lamch does not compensate for poor arithmetic in the upper half of the exponent range, as is found on a Cray.
In addition, this routine performs a global minimization and maximization on these values, to support heterogeneous computing networks.
- ictxt
-
(global) INTEGER.
The BLACS context handle in which the computation takes place.
- small
-
(local).
REAL PRECISION for pslabad.
DOUBLE PRECISION for pdlabad.
On entry, the underflow threshold as computed by p?lamch.
- large
-
(local).
REAL PRECISION for pslabad.
DOUBLE PRECISION for pdlabad.
On entry, the overflow threshold as computed by p?lamch.
- small
-
(local).
On exit, if log10(large) is sufficiently large, the square root of small, otherwise unchanged.
- large
-
(local).
On exit, if log10(large) is sufficiently large, the square root of large, otherwise unchanged.