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

Method FloorFunction

src/function/floorfunction.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "rmath.h"
23
24FloorFunction::FloorFunction() : Function("floor")
25{
26 addDescription(tr("Returns the number value rounded down to the nearest integer."));
27 addParameter("value");
28}
29
30Value& FloorFunction::evaluate(const Context& ctx) const
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected