MCPcopy Create free account
hub / github.com/cutdigital/mcut / absolute_value

Function absolute_value

source/math.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 double absolute_value(const double& number)
54 {
55 return std::fabs(number);
56 }
57
58 sign_t sign(const double& number)
59 {

Calls

no outgoing calls

Tested by

no test coverage detected