| 22 | #include "rmath.h" |
| 23 | |
| 24 | SignFunction::SignFunction() : Function("sign") |
| 25 | { |
| 26 | addDescription(tr("Returns a number value of -1 or 1 depending on the sign of the given number value.")); |
| 27 | addParameter("value"); |
| 28 | } |
| 29 | |
| 30 | Value& SignFunction::evaluate(const Context& ctx) const |
| 31 | { |
nothing calls this directly
no outgoing calls
no test coverage detected