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

Function sine

src/math/trig_functions.rs:71–73  ·  view source on GitHub ↗

Returns the value of sin(x), approximated with the given tolerance This function supposes the argument is in radians ### Example sin(1) == sin(1 rad) == sin(π/180)

(x: T, tol: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

sine_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