uweb/2018/12/11/bc/index.html

173 lines
6.2 KiB
HTML
Raw Normal View History

2018-12-09 14:16:48 +00:00
<!DOCTYPE html>
2018-12-09 14:35:03 +00:00
<html lang="en">
2018-12-09 14:16:48 +00:00
<head><meta name="generator" content="Hexo 3.8.0">
2018-12-09 14:35:03 +00:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keyword" content="">
<link rel="shortcut icon" href="/uWeb/img/favicon.ico">
<title>
2018-12-09 14:16:48 +00:00
2018-12-10 23:10:49 +00:00
配置浏览器地址栏作为超级计算器(bc) - undefined
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
</title>
<!-- Custom CSS -->
<link rel="stylesheet" href="/uWeb/css/aircloud.css">
<link rel="stylesheet" href="/uWeb/css/gitment.css">
<!--<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">-->
<link href="//at.alicdn.com/t/font_620856_pl6z7sid89qkt9.css" rel="stylesheet" type="text/css">
<!-- ga & ba script hoook -->
<script></script>
</head>
<body>
<div class="site-nav-toggle" id="site-nav-toggle">
<button>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
<div class="index-about">
<i> </i>
</div>
<div class="index-container">
<div class="index-left">
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
<div class="nav" id="nav">
<div class="contents" id="nav-content">
<ul>
<li>
<a href="/uWeb/">
<i class="iconfont icon-shouye1"></i>
<span>HOME</span>
</a>
</li>
<li>
<a href="/uWeb/tags">
<i class="iconfont icon-biaoqian1"></i>
<span>TAGS</span>
</a>
</li>
<li>
<a href="/uWeb/archives">
<i class="iconfont icon-guidang2"></i>
<span>ARCHIVES</span>
</a>
</li>
</ul>
2018-12-09 14:16:48 +00:00
</div>
2018-12-09 14:35:03 +00:00
<div id="toc" class="toc-article">
2018-12-10 23:10:49 +00:00
<ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#安装bc"><span class="toc-text">安装bc</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#配置文件-sdcard-uweb-cmds-txt如下"><span class="toc-text">配置文件/sdcard/uweb/cmds.txt如下</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#更多bc扩展库"><span class="toc-text">更多bc扩展库</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#使用扩展库以后cmds-txt配置如下"><span class="toc-text">使用扩展库以后cmds.txt配置如下</span></a></li></ol>
2018-12-09 14:35:03 +00:00
</div>
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
</div>
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
<div class="search-field" id="search-field">
<div class="search-container">
<div class="search-input">
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
<input id="search-input">
<span id="begin-search">search</span>
</div>
<div class="search-result-container" id="search-result-container">
</div>
</div>
</div>
<div class="index-about-mobile">
<i> </i>
</div>
</div>
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
<div class="index-middle">
<!-- Main Content -->
<div class="post-container">
<div class="post-title">
2018-12-10 23:10:49 +00:00
配置浏览器地址栏作为超级计算器(bc)
2018-12-09 14:35:03 +00:00
</div>
<div class="post-meta">
2018-12-10 23:10:49 +00:00
<span class="attr">Post<span>2018-12-11 06:53:33</span></span>
2018-12-09 14:35:03 +00:00
<span class="attr">Visit<span id="busuanzi_value_page_pv"></span>
</span>
</div>
<div class="post-content ">
2018-12-10 23:10:49 +00:00
<p>使用Android端<a href="https://www.coolapk.com/apk/info.torapp.uweb" target="_blank" rel="noopener">uweb浏览器</a><br>Gnu bc计算器支持无限精度可轻易扩展函数库、常数库。</p>
<h3 id="安装bc"><a href="#安装bc" class="headerlink" title="安装bc"></a>安装bc</h3><ul><br><li>安装uweb定制Termux应用(长按[PC]选择”Symbian”再刷新网页可直接下载)<br><a href="https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA" target="_blank" rel="noopener">https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA</a> </li><br><li>Termux下运行以下命令<br>apt update<br>apt upgrade<br>apt install bc</li><br></ul>
<h3 id="配置文件-sdcard-uweb-cmds-txt如下"><a href="#配置文件-sdcard-uweb-cmds-txt如下" class="headerlink" title="配置文件/sdcard/uweb/cmds.txt如下"></a>配置文件/sdcard/uweb/cmds.txt如下</h3><p>计算器:text/html:echo “%s”|bc -l -q </p>
<h3 id="更多bc扩展库"><a href="#更多bc扩展库" class="headerlink" title="更多bc扩展库"></a>更多bc扩展库</h3><p>扩展库可下载至/sdcard/uweb目录<br><a href="https://github.com/susca/bc-extensions" target="_blank" rel="noopener">https://github.com/susca/bc-extensions</a><br><a href="http://phodd.net/gnu-bc" target="_blank" rel="noopener">http://phodd.net/gnu-bc</a><br><a href="http://www.numbertheory.org/gnubc/gnubc.html" target="_blank" rel="noopener">http://www.numbertheory.org/gnubc/gnubc.html</a> </p>
<h3 id="使用扩展库以后cmds-txt配置如下"><a href="#使用扩展库以后cmds-txt配置如下" class="headerlink" title="使用扩展库以后cmds.txt配置如下"></a>使用扩展库以后cmds.txt配置如下</h3><p>计算器:text/html:echo “%s”|bc -l q extensions.bc scientific_constants.bc<br>全能计算器:text/html:echo “%s”|bc -l q *.bc </p>
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
<br>
<div id="comment-container">
</div>
<div id="disqus_thread"></div>
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
<div id="lv-container">
</div>
2018-12-09 14:16:48 +00:00
</div>
2018-12-09 14:35:03 +00:00
</div>
</div>
</div>
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
<footer class="footer">
<ul class="list-inline text-center">
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
2018-12-09 14:16:48 +00:00
2018-12-09 14:35:03 +00:00
</ul>
2018-12-09 14:52:49 +00:00
2018-12-09 14:16:48 +00:00
</footer>
2018-12-09 14:35:03 +00:00
2018-12-09 08:01:30 +00:00
</body>
2018-12-09 14:35:03 +00:00
<script>
// We expose some of the variables needed by the front end
window.hexo_search_path = ""
window.hexo_root = "/uWeb/"
window.isPost = true
</script>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="/uWeb/js/index.js"></script>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
</html>