Files
tldr/pages.ja/common/bc.md
K.B.Dharun Krishna 8538a31451 pages/*: add standard translation and links (#11331)
* pages/*: add standard translation and links

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix1: false positives; standardize Bengali, Hindi, Nepali periods

* fix: periods in recently added Bengali pages

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix: false positives in modified files

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: update to native period in Bengali l10n

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-06 14:02:31 +05:30

720 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