array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.acos.php', 1 => 'acos', ), 'up' => array ( 0 => 'ref.math.php', 1 => 'Math 関数', ), 'prev' => array ( 0 => 'function.abs.php', 1 => 'abs', ), 'next' => array ( 0 => 'function.acosh.php', 1 => 'acosh', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/math/functions/acos.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
acos — 逆余弦(アークコサイン)
num
のアークコサインをラジアンで返します。
acos() は cos() の逆関数です。
つまり、acos() の定義域にある num
の全ての値に対して、$num == cos(acos($num))
が成立します。
num
処理する角度。
num
のアークコサインをラジアンで返します。