1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-26 09:44:09 +02:00
tldr/pages.fr/common/bc.md
spageektti a2368251ed
bc: update translations (#12957)
* bc: update es translation

* bc: update fr translation

* bc: update it translation

* bc: update ja translation

* bc: update ko translation

* bc: update zh translation

* bc: update pt_BR translation
2024-06-13 14:25:28 +02:00

29 lines
642 B
Markdown

# bc
> Un langage de calcul de précision arbitraire.
> Voir aussi : `dc`.
> Plus d'informations : <https://manned.org/bc.1>.
- Démarre une session interactive :
`bc`
- Démarre une session interactive avec la bibliothèque mathématique standard activée :
`bc --mathlib`
- Calcule une expression :
`echo '{{5 / 3}}' | bc`
- Exécute un script :
`bc {{chemin/vers/le/script.bc}}`
- Calcule une expression avec l'échelle spécifiée :
`echo 'scale = {{10}}; {{5 / 3}}' | bc`
- Calcule une fonction sinus/cosinus/arctangente/logarithme naturel/exponentielle en utilisant `mathlib` :
`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib`