ninth week (2)

1.atan2(y,x): 表示返回其參數的商的反正切。    atan2是一個函數,在C語言裏返回的是指方位角,也可以理解爲計算複數 x+yi 的輻角,計算時atan2 比 atan 穩定。          與 atan 的不同          atan2 比 atan 穩定。         如:atan(y/x),當 y 遠遠大於 x 時,計算結果是不穩定的。              
相關文章
相關標籤/搜索