获取常数值或不确定度。
获取 sp 类型 (规范) 的常数值或不确定度。
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
class(codata_constant_type), | intent(in) | :: | self |
Codata 常数 |
||
real(kind=sp), | intent(in) | :: | mold |
虚拟参数,用于在编译时消除泛型接口的歧义 |
||
logical, | intent(in), | optional | :: | uncertainty |
设置为 true 表示需要不确定度。默认为 .false.. |
获取 dp 类型 (规范) 的常数值或不确定度。
类型 | 意图 | 可选 | 属性 | 名称 | ||
---|---|---|---|---|---|---|
class(codata_constant_type), | intent(in) | :: | self |
Codata 常数 |
||
real(kind=dp), | intent(in) | :: | mold |
虚拟参数,用于在编译时消除泛型接口的歧义 |
||
logical, | intent(in), | optional | :: | uncertainty |
设置为 true 表示需要不确定度。默认为 .false.. |