MCPcopy Create free account
hub / github.com/covscript/covscript / abs

Function abs

sources/instance/type_ext.cpp:1096–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1094 using namespace cs;
1095
1096 numeric abs(const numeric &n)
1097 {
1098 return std::abs(n.as_float());
1099 }
1100
1101 numeric ln(const numeric &n)
1102 {

Callers 1

truncateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected