HH\Lib\Math\cos

This API is part of the Hack Standard Library, not HHVM itself.

Returns the cosine of $arg

namespace HH\Lib\Math;

function cos(
  num $arg,
): float;

Parameters

  • num $arg