MCPcopy Create free account
hub / github.com/VCVRack/Rack / abs

Method abs

include/math.hpp:263–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 return Vec(std::fmax(x, b.x), std::fmax(y, b.y));
262 }
263 Vec abs() const {
264 return Vec(std::fabs(x), std::fabs(y));
265 }
266 Vec round() const {
267 return Vec(std::round(x), std::round(y));
268 }

Callers

nothing calls this directly

Calls 2

VecClass · 0.85
fabsFunction · 0.85

Tested by

no test coverage detected