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
|
---
:name: dlabad
:md5sum: 22dcceea234b4e85f0bf77e6bb51ee52
:category: :subroutine
:arguments:
- small:
:type: doublereal
:intent: input/output
- large:
:type: doublereal
:intent: input/output
:substitutions: {}
:fortran_help: " SUBROUTINE DLABAD( SMALL, LARGE )\n\n\
* Purpose\n\
* =======\n\
*\n\
* DLABAD takes as input the values computed by DLAMCH for underflow and\n\
* overflow, and returns the square root of each of these values if the\n\
* log of LARGE is sufficiently large. This subroutine is intended to\n\
* identify machines with a large exponent range, such as the Crays, and\n\
* redefine the underflow and overflow limits to be the square roots of\n\
* the values computed by DLAMCH. This subroutine is needed because\n\
* DLAMCH does not compensate for poor arithmetic in the upper half of\n\
* the exponent range, as is found on a Cray.\n\
*\n\n\
* Arguments\n\
* =========\n\
*\n\
* SMALL (input/output) DOUBLE PRECISION\n\
* On entry, the underflow threshold as computed by DLAMCH.\n\
* On exit, if LOG10(LARGE) is sufficiently large, the square\n\
* root of SMALL, otherwise unchanged.\n\
*\n\
* LARGE (input/output) DOUBLE PRECISION\n\
* On entry, the overflow threshold as computed by DLAMCH.\n\
* On exit, if LOG10(LARGE) is sufficiently large, the square\n\
* root of LARGE, otherwise unchanged.\n\
*\n\n\
* =====================================================================\n\
*\n\
* .. Intrinsic Functions ..\n INTRINSIC LOG10, SQRT\n\
* ..\n"
|