function.atan2.html
3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Arkustangens-Variante mit zwei Parametern</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
<div class="prev" style="text-align: left; float: left;"><a href="function.asinh.html">asinh</a></div>
<div class="next" style="text-align: right; float: right;"><a href="function.atan.html">atan</a></div>
<div class="up"><a href="ref.math.html">Mathematische Funktionen</a></div>
<div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.atan2" class="refentry">
<div class="refnamediv">
<h1 class="refname">atan2</h1>
<p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">atan2</span> — <span class="dc-title">Arkustangens-Variante mit zwei Parametern</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.atan2-description">
<h3 class="title">Beschreibung</h3>
<div class="methodsynopsis dc-description">
<span class="type">float</span> <span class="methodname"><strong>atan2</strong></span>
( <span class="methodparam"><span class="type">float</span> <code class="parameter">$y</code></span>
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$x</code></span>
)</div>
<p class="simpara">
Diese Funktion berechnet den Arkustangens von
<code class="parameter">y</code>/<code class="parameter">x</code>.
Im Gegensatz zu <span class="function"><a href="function.atan.html" class="function">atan()</a></span> kann sie dabei
die Vorzeichen beider Parameter beachten und so den Quadranten
des Ergebnisses bestimmen.
</p>
<p class="simpara">
Die Funktion gibt das Ergebnis im Bogenmaß zurück, d.h. zwischen
-PI und PI (inklusive).
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.atan2-parameters">
<h3 class="title">Parameter-Liste</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">y</code></dt>
<dd>
<p class="para">
Dividend
</p>
</dd>
<dt>
<code class="parameter">x</code></dt>
<dd>
<p class="para">
Divisor
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.atan2-returnvalues">
<h3 class="title">Rückgabewerte</h3>
<p class="para">
Der Arkustangens von <code class="parameter">y</code>/<code class="parameter">x</code>
in Bogenmaß
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.atan2-seealso">
<h3 class="title">Siehe auch</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="function.atan.html" class="function" rel="rdfs-seeAlso">atan()</a> - Arkustangens</span></li>
</ul>
</p>
</div>
</div><hr /><div class="manualnavbar" style="text-align: center;">
<div class="prev" style="text-align: left; float: left;"><a href="function.asinh.html">asinh</a></div>
<div class="next" style="text-align: right; float: right;"><a href="function.atan.html">atan</a></div>
<div class="up"><a href="ref.math.html">Mathematische Funktionen</a></div>
<div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
testing