20 static int radix() noexcept;
35 static
bool equal(
double left,
double right) noexcept;
60 static
bool equal(
double left,
double right,
double precision) noexcept;
67 static
double machine_precision_;
70 static
double numerical_precision_;
73 static
void compute_radix() noexcept;
76 static
void compute_machine_precision() noexcept;
Additional mathematical functions and determines the parameters of the floating point representation.
Definition math_util.h:14
static bool equal(double left, double right) noexcept
Compares two floating-point numbers for relative equality using the default numerical precision.
Definition math_util.cpp:35
static double default_numerical_precision() noexcept
Gets the typical meaningful precision for numerical calculations.
Definition math_util.cpp:27
static double machine_precision() noexcept
Gets the largest positive value which, when added to 1.0, yields 0.
Definition math_util.cpp:19
static int radix() noexcept
Gets the machine radix used by floating-point numbers.
Definition math_util.cpp:11
Top-level namespace for Health-GPS Core C++ API.
Definition analysis.h:7