You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.1 KiB
HTML

<!doctype html>
<html>
<head>
5 years ago
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
5 years ago
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>超级计算器(bc)</title>
</head>
<body>
<header class='header'>
<a class="logo" href="/uwebzh">Home</a> <a class="logo" href="/uwebzh/tags/">Tags</a>
<nav>
</nav>
</header>
<br />
5 years ago
<div class="container">
<h1 class="title">超级计算器(bc)
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
5 years ago
</ul>
<p>使用<a href="https://www.coolapk.com/apk/info.torapp.uweb">uweb浏览器</a><br>
Gnu bc计算器支持无限精度可扩展函数库、常数库。</p>
<h3 id="安装bc-android11无需安装">安装bc (Android11+无需安装)</h3>
<ul>
<li>安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a></li>
<li>Termux下运行以下命令<br>
apt update<br>
apt upgrade<br>
apt install bc</li>
</ul>
<h3 id="使用书签调用计算器">使用书签调用计算器</h3>
<p>&quot;长按以下链接-&gt;命令-&gt;书签&quot;可保存链接为书签。书签菜单可至<a href="../searchurl/urls.html">特色服务网页</a>安装。<br>
<a href="c:bc -l">bc</a><br>
<a href="c:bc -l *.bc">全能bc</a></p>
<h3 id="浏览器地址栏作为超级计算器">浏览器地址栏作为超级计算器</h3>
<p>配置文件/sdcard/uweb/default.acmd如下<br>
计算器:text/html:echo &quot;%s&quot;|bc -l -q</p>
<h3 id="更多bc扩展库">更多bc扩展库</h3>
<p>扩展库可下载至/sdcard/uweb目录<br>
<a href="https://github.com/susca/bc-extensions">https://github.com/susca/bc-extensions</a><br>
<a href="http://phodd.net/gnu-bc">http://phodd.net/gnu-bc</a><br>
<a href="http://www.numbertheory.org/gnubc/gnubc.html">http://www.numbertheory.org/gnubc/gnubc.html</a></p>
<h3 id="使用扩展库以后defaultacmd配置如下">使用扩展库以后default.acmd配置如下</h3>
<p>计算器:text/html:echo &quot;%s&quot;|bc -l -q extensions.bc scientific_constants.bc<br>
全能计算器:text/html:echo &quot;%s&quot;|bc -l -q *.bc</p>
5 years ago
</div>
</body>
5 years ago
</html>