MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / abs

Function abs

src/math/abs.rs:5–13  ·  view source on GitHub ↗

This function returns the absolute value of a number.\ The absolute value of a number is the non-negative value of the number, regardless of its sign.\ Wikipedia:

(num: T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

polygon_areaFunction · 0.85
boundaryFunction · 0.85
area_of_polygonFunction · 0.85

Calls 1

zeroFunction · 0.70

Tested by

no test coverage detected