|
CMakeTutorialStep1 2.3.12
|
TutorialMath.hxx 的实现:有限域平方根与 argc 校验。 More...
Namespaces | |
| namespace | tutorial |
Functions | |
| double | tutorial::compute_sqrt (double value) |
| 域检查:非有限、负数或超过 kComputeSqrtMaxInput 时返回 -1.0 | |
| bool | tutorial::has_numeric_argument (int argc) |
| argc >= 2 即认为用户提供了待计算的数值参数 | |
TutorialMath.hxx 的实现:有限域平方根与 argc 校验。