HH\Lib\Math\sin

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

This function is available as Math\sin() in Facebook's www repository.

Returns the sine of $arg

Description

namespace HH\Lib\Math;

function sin(
  num $arg,
): float;

To find the cosine, see Math\cos(). To find the tangent, see Math\tan().

Parameters

  • num $arg