NUMERIC(3F) NUMERIC(3F)
- return scalar values related to parameters of an associated model
digits (x)
epsilon (x)
huge (x)
maxexponent (x)
minexponent (x)
precision (x)
radix (x)
range (x)
tiny (x)
These Fortran 90 inquiry functions return scalar values that describe
parameters of a model which represents numbers of the type and type
parameters of argument x; the value of the argument need not be defined,
if a pointer it may be disassociated, if an array it need not be
allocated. It must be of integer or real type.
The digits function returns an integer with the number of significant
digits in the model for x.
The epsilon function returns the difference between 1 and the next
nearest representable number amongst real types of the same type and kind
as x.
The huge function returns the largest number that can be represented in
the same type and kind as x. The tiny function is similar, but
represents the smallest number instead of the largest.
The maxexponent function returns the largest exponent for real numbers of
the the same type and kind as x. The result is an integer. The
minexponent function is similiar, but returns the smallest exponent for
real numbers of the the same type and kind as x.
The precision function returns an integer with the decimal precision for
real numbers of the same type and kind as x.
The radix function returns an integer with the base of integer or real
numbers of the same type and kind as x.
The range function returns an integer with the decimal exponent range for
integer or real numbers of the same type and kind as x.
Page 1
NUMERIC(3F) NUMERIC(3F)
PPPPaaaaggggeeee 2222 [ Back ]
|