该方法返回指定值的反正弦值。
acos(X)
X - 为反余弦函数指定了一个值。
返回值是表示反余弦值的浮点值。
-module(helloLearnfk). -import(math,[acos/1]). -export([start/0]). start() -> Acos=acos(0.7071), io:fwrite("~p~n",[Acos]).
当我们运行上述程序时,我们将得到以下输出。
链接:https://www.learnfk.comhttps://www.learnfk.com/erlang/erlang-acos.html
来源:LearnFk无涯教程网
0.785407753397449
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)