cos()
function cos(float $num): float
Returns the cosine of a number (radians).
Parameters:
$num(float)
Returns: float
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how cos is implemented in the compiler, see the internals page.