mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 16:26:02 +02:00
bc: add link
This commit is contained in:
parent
962f1bc5ed
commit
2c7348ccdd
3 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
# bc
|
# bc
|
||||||
|
|
||||||
> Calcolatore.
|
> Calcolatore.
|
||||||
|
> Maggiori informazioni: <https://man.archlinux.org/man/bc.1>.
|
||||||
|
|
||||||
- Esegui in modalità interattiva utilizzando la libreria math della standard library:
|
- Esegui in modalità interattiva utilizzando la libreria math della standard library:
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# bc
|
# bc
|
||||||
|
|
||||||
> 계산기의 기능을 수행합니다.
|
> 계산기의 기능을 수행합니다.
|
||||||
|
> 더 많은 정보: <https://man.archlinux.org/man/bc.1>.
|
||||||
|
|
||||||
- 표준 Math 라이브러리를 사용한 대화형 모드에서 계산기 실행하기:
|
- 표준 Math 라이브러리를 사용한 대화형 모드에서 계산기 실행하기:
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# bc
|
# bc
|
||||||
|
|
||||||
> Calculator.
|
> An arbitrary precision calculator language.
|
||||||
|
> More information: <https://man.archlinux.org/man/bc.1>.
|
||||||
|
|
||||||
- Run calculator in interactive mode using the standard math library:
|
- Start `bc` in interactive mode using the standard math library:
|
||||||
|
|
||||||
`bc -l`
|
`bc -l`
|
||||||
|
|
||||||
|
@ -10,10 +11,10 @@
|
||||||
|
|
||||||
`bc <<< "(1 + 2) * 2 ^ 2"`
|
`bc <<< "(1 + 2) * 2 ^ 2"`
|
||||||
|
|
||||||
- Calculate expression and force number of decimal places to 10:
|
- Calculate the result of an expression and force the number of decimal places to 10:
|
||||||
|
|
||||||
`bc <<< "scale=10; 5 / 3"`
|
`bc <<< "scale=10; 5 / 3"`
|
||||||
|
|
||||||
- Calculate expression with sine and cosine using mathlib:
|
- Calculate the result of an expression with sine and cosine using `mathlib`:
|
||||||
|
|
||||||
`bc -l <<< "s(1) + c(1)"`
|
`bc -l <<< "s(1) + c(1)"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue