MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / HasPrecision

Method HasPrecision

vkconfig_core/setting_float.h:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 bool HasRange() const { return std::abs(this->max_value - this->min_value) > std::numeric_limits<float>::epsilon(); }
40
41 bool HasPrecision() const { return this->precision != 0 || this->width != 0; }
42
43 std::string GetFloatFormat() const {
44 if (this->HasPrecision()) {

Callers 1

GetFloatFormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected