HH\Lib\Math\tan

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

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

Returns the tangent of $arg

Description

namespace HH\Lib\Math;

function tan(
  num $arg,
): float;

To find the cosine, see Math\cos(). To find the sine, see Math\sin().

Parameters

  • num $arg