forked from processing/processing-web-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatan.xml
More file actions
executable file
·61 lines (45 loc) · 1.19 KB
/
Copy pathatan.xml
File metadata and controls
executable file
·61 lines (45 loc) · 1.19 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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>atan()</name>
<category>Math</category>
<subcategory>Trigonometry</subcategory>
<usage>Web & Application</usage>
<example>
<image></image>
<code><![CDATA[
float a = PI/3;
float t = tan(a);
float at = atan(t);
// Prints "1.0471976 : 1.7320509 : 1.0471976"
println(a + " : " + t + " : " + at);
]]></code>
</example>
<example>
<image></image>
<code><![CDATA[
float a = PI + PI/3.0;
float t = tan(a);
float at = atan(t);
// Prints "4.1887903 : 1.7320513 : 1.0471977"
println(a + " : " + t + " : " + at);
]]></code>
</example>
<description><![CDATA[The inverse of <b>tan()</b>, returns the arc tangent of a value. This function expects the values in the range of -Infinity to Infinity (exclusive) and values are returned in the range <b>-PI/2</b> to <b>PI/2 </b>.]]></description>
<syntax><![CDATA[
atan(<kbd>value</kbd>)
]]></syntax>
<parameter>
<label>value</label>
<description><![CDATA[float: -Infinity to Infinity (exclusive)]]></description>
</parameter>
<returns>float</returns>
<related>
tan()
asin()
acos()
</related>
<availability>1.0</availability>
<type>Function</type>
<partof>Core</partof>
<level>Extended</level>
</root>