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

Function root

sources/instance/type_ext.cpp:1151–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1149 }
1150
1151 numeric root(const numeric &a, const numeric &b)
1152 {
1153 return std::pow(a.as_float(), numeric_float(1) / b.as_float());
1154 }
1155
1156 numeric pow(const numeric &a, const numeric &b)
1157 {

Callers

nothing calls this directly

Calls 1

powFunction · 0.70

Tested by

no test coverage detected