bc is "an arbitrary precision calculator language" with syntax similar to the C programming language. It is generally used by typing the command bc on a Unix command prompt and entering a mathematical expression, such as (1 + 3) * 2, whereupon 8 will be output.

PropertyValue
p:abstract
  • bc is "an arbitrary precision calculator language" with syntax similar to the C programming language. It is generally used by typing the command bc on a Unix command prompt and entering a mathematical expression, such as (1 + 3) * 2, whereupon 8 will be output. There are currently two main dialects: the rigorously defined POSIX bc, and its direct descendant, the much expanded GNU bc (also, GNU bc is available for a wider range of platforms, such as Microsoft Windows). A more recent dialect, Plan 9 bc, is a superset of the former and subset of the latter. All three forms of bc can be executed as either a mathematical scripting language or as an interactive mathematical shell. (en)
  • bc es un lenguaje de programación de cálculo numérico con precisión arbitraria, con una sintaxis similar a la del lenguaje de programación C. El lenguaje y su intérprete son una herramienta estandarizada de los sistemas UNIX. El intérprete de bc puede ser usado de forma interactiva, escribiendo expresiones como (1 + 3) * 2 que son evaluadas y su valor escrito en la salida estándar (8 en el ejemplo anterior). Hay actualmente dos dialectos principales: el rigurosamente definido POSIX bc y un descendiente directo suyo, GNU bc, que incorpora numerosas extensiones. bc permite la definición de funciones matemáticas. Además las implementaciones de bc incorporan una biblioteca matemática con funciones predefinidas (y estandarizadas) tales como coseno ó función de Bessel. También posee estructuras que permiten la programación estructurada tales como bucles o decisiones condicionales. (es)
  • Der Basic Calculator (kurz bc) ist eine eigene Rechensprache, die an die Syntax von C angelehnt ist. Das herausstellende Merkmal von bc ist die Fähigkeit, mit Gleitkommazahlen fast beliebig großer Genauigkeit zu rechnen; die Grenze liegt je nach Version bei mindestens mehreren tausend Stellen, meist aber bei mehreren Millionen bis Milliarden. bc verwendet nicht den Coprozessor oder eine andere Hardware-Gleitkommaeinheit eines Rechners, sondern arbeitet intern nur mit Ganzzahlen; die Gleitkommafähigkeit wird rein per Software hergestellt. Nur so kann die Sprache eine höhere Genauigkeit erreichen als in der Gleitkomma-Hardware vorgesehen ist. Allerdings ist bc damit auch prinzipbedingt wesentlich langsamer als eine Sprache, die Gleitkommaberechnungen direkt in der Hardware durchführt. bc wird üblicherweise über eine Kommandozeile unter einem Unix-Derivat oder von anderen Programmen für komplexe Berechnungen verwendet. Das Ur-Programm ist POSIX bc; davon hat GNU eine eigene Version abgeleitet und erweitert, die heute häufiger benutzt wird. Beide Versionen können als mathematische Skriptsprache oder als interaktive Shell verwendet werden. (de)
  • bc to uniksowy kalkulator dowolnej precyzji (zarówno przed, jak i po przecinku). Umożliwia operowanie liczbami w dowolnych systemach liczbowych (wejście możliwe w systemie maksymalnie szesnastkowym, wyjście w dowolnie dużym), wykonywanie skryptów itd. Pierwotnie program opierał się na programie dc, tłumacząc zapis infiksowy na postfiksowy (odwrotna notacja polska), jednak obecnie wersja GNU jest autonomicznym programem. Składnia podobna do języka C. (pl)
  • bc (basic calculator) — интерактивный интерпретатор Си-подобного языка, позволяет выполнять вычисления с произвольно заданной точностью. Часто используется как калькулятор в командной строке UNIX-подобных операционных систем. Традиционная реализация bc была оболочкой к непосредственно калькулятору dc, принимавшему выражения в обратной польской записи, и выполняла преобразование из инфиксной записи в обратную польскую . Современная версия [http://www.gnu.org/software/bc/ GNU bc] реализована в качестве отдельной программы. (ru)
  • bc是Unix 作業系統下的一個高精確度數學運算工具,也就是說,無論數字有多大,或小數點後有多少位值,它都能精確運算。bc支持POSIX運算,GNU的bc又在此基礎上擴展了不少。 (zh)
p:hasPhotoCollection
p:manProperty
  • SUS (en)
  • arbitrary-precision arithmetic language (en)
  • bc (en)
  • cu (en)
p:reference
p:wikiPageUsesTemplate
p:wikipage-de
p:wikipage-es
p:wikipage-pl
p:wikipage-ru
p:wikipage-zh
rdf:type
rdfs:comment
  • bc is "an arbitrary precision calculator language" with syntax similar to the C programming language. It is generally used by typing the command bc on a Unix command prompt and entering a mathematical expression, such as (1 + 3) * 2, whereupon 8 will be output. (en)
  • bc es un lenguaje de programación de cálculo numérico con precisión arbitraria, con una sintaxis similar a la del lenguaje de programación C. El lenguaje y su intérprete son una herramienta estandarizada de los sistemas UNIX. (es)
  • Der Basic Calculator (kurz bc) ist eine eigene Rechensprache, die an die Syntax von C angelehnt ist. Das herausstellende Merkmal von bc ist die Fähigkeit, mit Gleitkommazahlen fast beliebig großer Genauigkeit zu rechnen; die Grenze liegt je nach Version bei mindestens mehreren tausend Stellen, meist aber bei mehreren Millionen bis Milliarden. (de)
  • bc to uniksowy kalkulator dowolnej precyzji (zarówno przed, jak i po przecinku). Umożliwia operowanie liczbami w dowolnych systemach liczbowych (wejście możliwe w systemie maksymalnie szesnastkowym, wyjście w dowolnie dużym), wykonywanie skryptów itd. (pl)
  • bc (basic calculator) — интерактивный интерпретатор Си-подобного языка, позволяет выполнять вычисления с произвольно заданной точностью. Часто используется как калькулятор в командной строке UNIX-подобных операционных систем. (ru)
  • bc是Unix 作業系統下的一個高精確度數學運算工具,也就是說,無論數字有多大,或小數點後有多少位值,它都能精確運算。bc支持POSIX運算,GNU的bc又在此基礎上擴展了不少。 (zh)
rdfs:label
  • Bc programming language (en)
  • Lenguaje de programación bc (es)
  • Basic Calculator (de)
  • Bc (pl)
  • Bc (ru)
  • Bc (Unix) (zh)
skos:subject
foaf:homepage
foaf:page
p:redirect
owl:sameAs