MCPcopy Create free account
hub / github.com/KDE/labplot / convertDoubleToBool

Function convertDoubleToBool

src/backend/gsl/functions.cpp:886–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

884}
885
886bool convertDoubleToBool(const double value) {
887 return value != 0;
888}
889
890double ifCondition(const double condition, const double valueIfTrue, const double valueIfFalse) {
891 if (convertDoubleToBool(condition))

Callers 5

ifConditionFunction · 0.85
andFunctionFunction · 0.85
orFunctionFunction · 0.85
xorFunctionFunction · 0.85
notFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected