First, why use prec instead of precision?
Second, double is not a well-defined term (neither is single). I suggest using some sort of standard (e.g., REAL64 à la ISO_FORTRAN_ENV) or by specifying the actual number of bits of precision.
Third, I do not understand the relationship between the prec property and the value of the constant. Some, such as pi, clearly are defined with more digits than can be represented by a double-precision number while others, such as standard_acceleration_of_gravity, have many fewer digits.
I guess I do not understand the intended usage of this property. Please explain.
First, why use prec instead of precision?
Second, double is not a well-defined term (neither is single). I suggest using some sort of standard (e.g., REAL64 à la ISO_FORTRAN_ENV) or by specifying the actual number of bits of precision.
Third, I do not understand the relationship between the
precproperty and the value of the constant. Some, such aspi, clearly are defined with more digits than can be represented by a double-precision number while others, such asstandard_acceleration_of_gravity, have many fewer digits.I guess I do not understand the intended usage of this property. Please explain.