bc: add link

This commit is contained in:
marchersimon
2021-03-31 12:16:18 +02:00
committed by Starbeamrainbowlabs
parent 962f1bc5ed
commit 2c7348ccdd
3 changed files with 7 additions and 4 deletions

View File

@@ -1,8 +1,9 @@
# 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`
@@ -10,10 +11,10 @@
`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"`
- 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)"`