MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / abs

Function abs

src/storage/compression/compression.cpp:526–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524template<typename T>
525 requires std::is_unsigned_v<T>
526inline T abs(T value) {
527 return value;
528}
529
530template<typename T>
531 requires std::is_signed_v<T>

Callers 4

operationMethod · 0.85
operator-Method · 0.85
operationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected