acos
PHP Manual
PHP Manual»Функції Math»acos

acos

(PHP 4, PHP 5, PHP 7, PHP 8)

acosArc cosine

Опис

function acos(float $num): float

Returns the arc cosine of num in radians. acos() is the inverse function of cos(), which means that $num == cos(acos($num)) for every value of num that is in the domain of acos().

Параметри

num

The argument to process

Значення, що повертаються

The arc cosine of num in radians.

Прогляньте також

To Top