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

Function cosine

src/math/trig_functions.rs:77–79  ·  view source on GitHub ↗

Returns the value of cos, approximated with the given tolerance, for an angle 'x' in radians

(x: T, tol: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

cosine_no_radian_argFunction · 0.85
tanFunction · 0.85
cotanFunction · 0.85
verifyMethod · 0.85

Calls 1

templateFunction · 0.85

Tested by

no test coverage detected