mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* pages/*: update links and more info link script Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * cleanup: reformat code * ax-webapp: fix link * curl: fix false positive Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
522 B
522 B
bc
一个任意精度计算器语言。 另请参阅:
dc
. 更多信息:https://manned.org/man/bc.1.
- 启动交互式会话:
bc
- 启动交互式会话并启用标准数学库:
bc --mathlib
- 计算表达式:
echo {{5 / 3}} | bc
- 执行脚本:
bc {{路径/到/脚本.bc}}
- 计算具有指定比例的表达式:
echo 'scale = {{10}}; {{5 / 3}}' | bc
- 使用
mathlib
计算正弦/余弦/反正切/自然对数/指数函数:
echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib