MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / AbsFunction

Method AbsFunction

src/function/absfunction.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "numbervalue.h"
22
23AbsFunction::AbsFunction() : Function("abs")
24{
25 addDescription(tr("Returns the absolute value of the number value."));
26 addParameter("value");
27}
28
29Value& AbsFunction::evaluate(const Context& ctx) const
30{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected