Skip to content

Commit

Permalink
deploy: 09af35d
Browse files Browse the repository at this point in the history
  • Loading branch information
Euler-37 committed Mar 25, 2024
1 parent d4c1e59 commit 038138e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions ch03-02-operation.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ <h3 id="数的比较"><a class="header" href="#数的比较">数的比较</a></h
<li>复数不能用来比较</li>
</ul>
<h2 id="逻辑类型"><a class="header" href="#逻辑类型">逻辑类型</a></h2>
<p>逻辑类型之间也有自己的运算,分别为与<code>.and.</code><code>.or.</code><code>.not.</code> 异或<code>.neqv.</code> 同或 <code>.eqv.</code>,运算之后返回一个逻辑类型。
| 逻辑值A | 逻辑值B | <code>.and.</code> | <code>.or.</code> | <code>.neqv.</code> | <code>.eqv.</code> |
| :-: | :-: | :-: | :-: | :-: | :-: |
| <code>.true.</code> | <code>.true.</code> | <code>.true.</code> | <code>.true.</code> | <code>.false.</code> | <code>.true.</code> |
| <code>.true.</code> | <code>.false.</code> | <code>.false.</code> | <code>.true.</code> | <code>.true.</code> | <code>.false.</code> |
| <code>.false.</code> | <code>.true.</code> | <code>.false.</code> | <code>.true.</code> | <code>.true.</code> | <code>.false.</code> |
| <code>.false.</code> | <code>.false.</code> | <code>.false.</code> | <code>.false.</code> | <code>.false.</code> | <code>.true.</code> |</p>
<p>逻辑类型之间也有自己的运算,分别为与<code>.and.</code><code>.or.</code><code>.not.</code> 异或<code>.neqv.</code> 同或 <code>.eqv.</code>,运算之后返回一个逻辑类型。</p>
<table><thead><tr><th align="center">逻辑值A</th><th align="center">逻辑值B</th><th align="center"><code>.and.</code></th><th align="center"><code>.or.</code></th><th align="center"><code>.neqv.</code></th><th align="center"><code>.eqv.</code></th></tr></thead><tbody>
<tr><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td></tr>
<tr><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td></tr>
<tr><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td></tr>
<tr><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td></tr>
</tbody></table>
<p>举例</p>
<pre><code class="language-fortran">program main
implicit none
Expand Down
14 changes: 7 additions & 7 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ <h3 id="数的比较"><a class="header" href="#数的比较">数的比较</a></h
<li>复数不能用来比较</li>
</ul>
<h2 id="逻辑类型"><a class="header" href="#逻辑类型">逻辑类型</a></h2>
<p>逻辑类型之间也有自己的运算,分别为与<code>.and.</code><code>.or.</code><code>.not.</code> 异或<code>.neqv.</code> 同或 <code>.eqv.</code>,运算之后返回一个逻辑类型。
| 逻辑值A | 逻辑值B | <code>.and.</code> | <code>.or.</code> | <code>.neqv.</code> | <code>.eqv.</code> |
| :-: | :-: | :-: | :-: | :-: | :-: |
| <code>.true.</code> | <code>.true.</code> | <code>.true.</code> | <code>.true.</code> | <code>.false.</code> | <code>.true.</code> |
| <code>.true.</code> | <code>.false.</code> | <code>.false.</code> | <code>.true.</code> | <code>.true.</code> | <code>.false.</code> |
| <code>.false.</code> | <code>.true.</code> | <code>.false.</code> | <code>.true.</code> | <code>.true.</code> | <code>.false.</code> |
| <code>.false.</code> | <code>.false.</code> | <code>.false.</code> | <code>.false.</code> | <code>.false.</code> | <code>.true.</code> |</p>
<p>逻辑类型之间也有自己的运算,分别为与<code>.and.</code><code>.or.</code><code>.not.</code> 异或<code>.neqv.</code> 同或 <code>.eqv.</code>,运算之后返回一个逻辑类型。</p>
<table><thead><tr><th align="center">逻辑值A</th><th align="center">逻辑值B</th><th align="center"><code>.and.</code></th><th align="center"><code>.or.</code></th><th align="center"><code>.neqv.</code></th><th align="center"><code>.eqv.</code></th></tr></thead><tbody>
<tr><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td></tr>
<tr><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td></tr>
<tr><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.true.</code></td><td align="center"><code>.false.</code></td></tr>
<tr><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.false.</code></td><td align="center"><code>.true.</code></td></tr>
</tbody></table>
<p>举例</p>
<pre><code class="language-fortran">program main
implicit none
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 038138e

Please sign in to comment.