Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Vec
Class · 0.85
fabs
Function · 0.85
Tested by
no test coverage detected