![]() |
ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the abstract
derived type for creating objects of class modelr_type that contain the characteristics of the processor representation model used for the requested integer
data object.
More...
Public Attributes | |
real(RKH) | epsilon |
The scalar real of the highest kind RKH supported by the ParaMonte library, whose value is almost negligible compared with the value 1.0 in the model that includes the real data type of interest, that is \(b^{1-p}\) as detailed in the real data model of model_type.More... | |
real(RKHR) | huge |
The scalar real of the highest kind RKHR supported by the ParaMonte library, representing the largest value in the model that includes the real data type of interest.More... | |
integer(IK) | maxexponent |
The scalar integer of default kind IK, representing the maximum exponent in the model that includes the real data type of interest.This corresponds to \(e_{max}\) in the model set for the real data type detailed in model_type.More... | |
integer(IK) | minexponent |
The scalar integer of default kind IK, representing the minimum exponent in the model that includes the real data type of interest.This corresponds to \(e_{min}\) in the model set for the real data type detailed in model_type.More... | |
integer(IK) | precision |
The scalar integer of default kind IK, representing the equivalent decimal precision (number of digits after the decimal point) in the model representing real numbers with the same type parameter value as the real data type of interest.The value is int((p - 1) * log10(b)) + k where k is 1 if b is an integral power of 10 and 0 otherwise.The meaning of the real data type model parameters are detailed in model_type.More... | |
real(RKHR) | tiny |
The scalar real of the highest kind RKHR supported by the ParaMonte library, representing the smallest positive number \(b^{e_min} - 1\) in the model that includes the real data type of interest.The meaning of the real data type model parameters are detailed in model_type.More... | |
![]() | |
integer(IK) | digits |
The scalar integer of default kind IK, whose value is the number of significant bit digits in the model that includes the numeric data type of interest, that is q or p in the integer and real models detailed in model_type.More... | |
integer(IK) | radix |
The scalar integer of default kind IK, whose value is the base in the model that includes the numeric data of interest, that is r or b in the integer and real models detailed in model_type.More... | |
integer(IK) | range |
The scalar integer of default kind IK, holding the equivalent decimal exponent range in the models representing integer or real data type of interest.The value is int(log10(huge)) for integer data type and int(min(log10(huge), -log10(tiny))) for real data type, where huge and tiny are the largest and smallest positive numbers in the corresponding model.More... | |
![]() | |
integer(IK) | kind |
The scalar integer of default kind IK, representing the processor-dependent kind type-parameter of data type of interest.More... | |
integer(IK) | storage_size |
The scalar integer of default kind IK, whose value is the size, in bits, that would be taken in memory by a scalar of the same type and kind as the data type of interest.More... | |
This is the abstract
derived type for creating objects of class modelr_type that contain the characteristics of the processor representation model used for the requested integer
data object.
See the documentations of model_type for details of model sets for supported data types.
[in] | mold | : The input scalar or array of arbitrary rank of either whose type and kind will determine the characteristics of the output model object. The specific value of the input mold is irrelevant and ignored. |
model
: The output scalar or array of type,
Possible calling interfaces ⛓
pure
.elemental
.
Example usage ⛓
ifort
compiler ⛓ ifort
compiler ⛓ gfortran
compiler ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 1746 of file pm_kind.F90.
real(RKH) pm_kind::modelr_type::epsilon |
The scalar real
of the highest kind RKH supported by the ParaMonte library, whose value is almost negligible compared with the value 1.0
in the model that includes the real
data type of interest, that is \(b^{1-p}\) as detailed in the real data model of model_type.
Definition at line 1747 of file pm_kind.F90.
real(RKHR) pm_kind::modelr_type::huge |
The scalar real
of the highest kind RKHR supported by the ParaMonte library, representing the largest value in the model that includes the real
data type of interest.
Definition at line 1754 of file pm_kind.F90.
integer(IK) pm_kind::modelr_type::maxexponent |
The scalar integer
of default kind IK, representing the maximum exponent in the model that includes the real
data type of interest.
This corresponds to \(e_{max}\) in the model set for the real
data type detailed in model_type.
Definition at line 1756 of file pm_kind.F90.
integer(IK) pm_kind::modelr_type::minexponent |
The scalar integer
of default kind IK, representing the minimum exponent in the model that includes the real
data type of interest.
This corresponds to \(e_{min}\) in the model set for the real
data type detailed in model_type.
Definition at line 1758 of file pm_kind.F90.
integer(IK) pm_kind::modelr_type::precision |
The scalar integer
of default kind IK, representing the equivalent decimal precision (number of digits after the decimal point) in the model representing real numbers with the same type parameter value as the real
data type of interest.
The value is int((p - 1) * log10(b)) + k
where k
is 1
if b
is an integral power of 10
and 0
otherwise.
The meaning of the real
data type model parameters are detailed in model_type.
Definition at line 1760 of file pm_kind.F90.
real(RKHR) pm_kind::modelr_type::tiny |
The scalar real
of the highest kind RKHR supported by the ParaMonte library, representing the smallest positive number \(b^{e_min} - 1\) in the model that includes the real
data type of interest.
The meaning of the real
data type model parameters are detailed in model_type.
Definition at line 1764 of file pm_kind.F90.