5 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
7 <link rel=
"stylesheet" href=
"../style.css#" type=
"text/css" />
8 <title>超级计算器(bc)
</title>
9 <script type=
"text/javascript">
11 let href
= location
.href
;
12 for(let i
=href
.length
-1;i
>0;i
--){
13 if('/'==href
.charAt(i
) && '/'==href
.charAt(i
-3))
20 location
.href
= location
.href
.substring(0,i
+1)+page
;
22 function nav2Lang(lang
){
24 let href
= location
.href
;
25 location
.href
= location
.href
.substring(0,i
-2)+lang
+location
.href
.substring(i
);
30 <header class='header'
>
31 <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('index.html#')">Home
</a> <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('tags/index.html#')">Tags
</a>
38 <div class=
"container">
39 <h1 class=
"title">超级计算器(bc)
41 <span class=
"subtitle"></span>
46 <p>Gnu bc计算器支持无限精度,可扩展函数库、常数库。
</p>
47 <h3 id=
"安装bc-android11无需安装">安装bc (Android11+无需安装)
</h3>
49 <li>安装
<a href=
"../searchurl/plugins.html">uweb定制Termux应用
</a></li>
50 <li>Termux下运行以下命令:
<br>
55 <h3 id=
"使用书签调用计算器">使用书签调用计算器
</h3>
56 <p>"长按以下链接-
>命令-
>书签
"可保存链接为书签。书签菜单可至
<a href=
"../urls/index.html#">特色服务网页
</a>安装。
<br>
57 <a href=
"c:bc -l">bc
</a><br>
58 <a href=
"c:bc -l *.bc">全能bc
</a></p>
59 <h3 id=
"浏览器地址栏作为超级计算器">浏览器地址栏作为超级计算器
</h3>
60 <p>配置文件default.acmd如下:
<br>
61 计算器:text/html:echo
"%s
"|bc -l -q
</p>
62 <h3 id=
"更多bc扩展库">更多bc扩展库:
</h3>
63 <p>https://github.com/susca/bc-extensions
<br>
64 http://phodd.net/gnu-bc
<br>
65 http://www.numbertheory.org/gnubc/gnubc.html
</p>
66 <h3 id=
"使用扩展库以后defaultacmd配置如下">使用扩展库以后default.acmd配置如下:
</h3>
67 <p>计算器:text/html:echo
"%s
"|bc -l -q extensions.bc scientific_constants.bc
<br>
68 全能计算器:text/html:echo
"%s
"|bc -l -q *.bc
</p>
71 <p>Last Modified:
2 April
2024<br>
72 add js function in README
<br>
77 src='https://giscus.app/client.js'
78 data-repo=
"torappinfo/uweb"
79 data-repo-id=
"MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
80 data-category=
"Announcements"
81 data-category-id=
"DIC_kwDOEgNLGc4CQjsh"
84 data-reactions-enabled=
"1"
85 data-emit-metadata=
"0"
86 data-input-position=
"top"
90 crossorigin=
"anonymous" async
>
93 <footer class=
"site-footer">
94 <div class=
"container">
95 © 2018-
2024 Richard H. Cao
98 <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->