MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / IsPositiveRealNumber

Method IsPositiveRealNumber

Xaml/Controls/ConstrainedBox.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 bool ConstrainedBox::IsPositiveRealNumber(double value) noexcept
65 {
66 return std::isfinite(value) && value > 0.0;
67 }
68
69 void ConstrainedBox::ApplyMultiple(int32_t multiple, float &value) noexcept
70 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected