mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-18 00:44:36 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<h2 id="Summary" name="Summary">概述</h2>
|
||||
<p><code><strong>Math.atan2()</strong></code> 返回其参数比值的反正切值。</p>
|
||||
<h2 id="Syntax" name="Syntax">语法</h2>
|
||||
<pre class="syntaxbox">Math.atan2(<em>y</em>, <em>x</em>) </pre>
|
||||
<pre><code class="language-javascript">Math.atan2(<em>y</em>, <em>x</em>) </code></pre>
|
||||
<h2 id="Parameters" name="Parameters">参数</h2>
|
||||
<dl>
|
||||
<dt>
|
||||
@@ -18,7 +18,7 @@
|
||||
<p>由于 <code>atan2</code> 是 <code>Math</code> 的静态方法,所以应该像这样使用:<code>Math.atan2()</code>,而不是作为你创建的 <code>Math</code> 实例的方法。</p>
|
||||
<h2 id="Examples" name="Examples">示例</h2>
|
||||
<h3 id="Example:_Using_Math.atan2" name="Example:_Using_Math.atan2">例子:使用 <code>Math.atan2</code></h3>
|
||||
<pre class="brush:js">Math.atan2(90, 15) // 1.4056476493802699
|
||||
<pre><code class="language-js">Math.atan2(90, 15) // 1.4056476493802699
|
||||
Math.atan2(15, 90) // 0.16514867741462683
|
||||
|
||||
<code>Math.atan2( ±0, -0 )</code> // <code>±PI</code>.
|
||||
@@ -32,7 +32,7 @@ Math.atan2(15, 90) // 0.16514867741462683
|
||||
<code>Math.atan2( ±Infinity, x )</code> // <code>±PI/2</code> for finite x.
|
||||
<code>Math.atan2( ±Infinity, -Infinity )</code> // <code>±3*PI/4</code>.
|
||||
<code>Math.atan2( ±Infinity, +Infinity )</code> // <code>±PI/4</code>.
|
||||
</pre>
|
||||
</code></pre>
|
||||
<h2 id="规范">规范</h2>
|
||||
<table class="standard-table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user