2017-10-07から1日間の記事一覧
プログラミング言語「Kuin」 - Kuina-chan atan2 が無かったので. func atan2(y: float, x: float): float ; 参考: https://cpprefjp.github.io/reference/cmath/atan2.html if (y = 0.0) ret x < 0.0 ?(lib@pi, 0.0) elif (x = 0.0) ret y < 0.0 ?(-lib@pi…
プログラミング言語「Kuin」 - Kuina-chan atan2 が無かったので. func atan2(y: float, x: float): float ; 参考: https://cpprefjp.github.io/reference/cmath/atan2.html if (y = 0.0) ret x < 0.0 ?(lib@pi, 0.0) elif (x = 0.0) ret y < 0.0 ?(-lib@pi…