1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
\r
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
\r
5 <meta http-equiv="Content-Style-Type" content="text/css">
\r
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
\r
7 <link rel="top" href="index.html" title="
\83z
\81[
\83\80">
\r
8 <link rel="parent" href="CategoryStandard.html" title="1
\82Â
\8fã">
\r
9 <title>SDL_acos</title>
\r
12 <a href="index.html">
\96Ú
\8e\9f</a> - <a href="ApiByCategory.html">API(
\8b@
\94\
\95Ê)</a> - <a href="CategoryStandard.html">
\95W
\8f\80\83\89\83C
\83u
\83\89\83\8a</a> - SDL_acos
\r
15 x
\82Ì
\83A
\81[
\83N
\83R
\83T
\83C
\83\93\82ð
\93¾
\82é
\r
17 <code>double SDL_acos(double x)</code>
\r
19 <table border="1" summary="SDL_acos">
\r
20 <tr><td>x</td><td>
\95\82\93®
\8f¬
\90\94\93_
\82Ì
\83\89\83W
\83A
\83\93\82Ì
\92l</td></tr>
\r
22 <h2>
\96ß
\82è
\92l</h2>
\r
23 x
\82Ì
\83A
\81[
\83N
\83R
\83T
\83C
\83\93\82ð
\96ß
\82·
\r
24 <h2>
\83T
\83\93\83v
\83\8b\83R
\81[
\83h</h2>
\r
28 /* acos(x) = Pi/2 - asin(x) */
\r
29 SDL_Log("acos(0):\t\t%f", SDL_acos(0));
\r
30 SDL_Log("Pi/2 - asin(0):\t%f", M_PI / 2 - SDL_asin(0));
\r
32 /* acos(-x) = Pi - acos(x) */
\r
33 SDL_Log("acos(-(-1)):\t%f", SDL_acos(-(-1)));
\r
34 SDL_Log("Pi - acos(-1):\t%f", M_PI - SDL_acos(-1));
\r
39 y = acos(x)
\82Ì
\92è
\8b`
\82Í x = cos(y)
\82Å
\82 \82é.<br>
\r
40 (-1 <= x <= 1)<br>
\r
41 (0 <= y <= PI)
\r
42 <h2>
\83o
\81[
\83W
\83\87\83\93</h2>
\r
44 <h2>
\8aÖ
\98A
\8d\80\96Ú(
\8aÖ
\90\94)</h2>
\r
45 <a href="SDL_cos.html">SDL_cos</a><br>
\r
46 <h2>SDL Wiki
\82Ö
\82Ì
\83\8a\83\93\83N</h2>
\r
47 <a href="https://wiki.libsdl.org/SDL_acos">SDL_acos - SDL Wiki</a>
\r