Platform | x64, Win32, .NET |
Purpose |
To get the kind type parameter for real values with a given precision and range. |
Class |
Transformational function. |
Syntax |
INTEGER FUNCTION SELECTED_REAL_KIND([P, R]) |
Description |
SELECTED_REAL_KIND must have at least one argument. P is the required number of significant decimal digits (as returned by the intrinsic function PRECISION) and R is the required decimal exponent range (as returned by the intrinsic function RANGE). |
Return value |
The result is the kind type parameter for real values with the given precision and/or range. A value of -1 is returned if P is out of range. A value of -2 is returned if R is out of range. A value of -3 is returned if both P and R are out of range. |