MCPcopy Create free account
hub / github.com/MITK/MITK / ValidatePrecision

Function ValidatePrecision

Modules/QtWidgetsExt/src/QmitkEditPointDialog.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27static bool ValidatePrecision(double value)
28{
29 return std::log10(std::abs(value)) + 1.0 <= std::numeric_limits<double>::digits10;
30}
31
32static bool ValidateCoordinate(const QString &name, double value)
33{

Callers 1

ValidateCoordinateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected