`
923723914
  • 浏览: 637232 次
文章分类
社区版块
存档分类
最新评论

hive函数 -- acos

 
阅读更多

反余弦函数

acos(x) - returns the arc cosine of x if -1<=x<=1 or NULL otherwise

acos(x)

定义域 [-1,1] x在其它区间的话 得到的值是null

值域 [0,pi]

实例:

acos(-1) = 3.141592653589793

acos(1)=0.0

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics