Category: DC

dc is a cross-platform reverse-polish desk calculator which supports arbitrary-precision arithmetic. It is one of the oldest Unix utilities, predating even the invention of the C programming language; like other utilities of that vintage, it has a powerful set of features but an extremely terse syntax. Traditionally, the more user-friendly (with its infix notation) bc calculator program was implemented on top of dc, although more modern implementations are related in the opposite fashion: dc uses bc’s library for arithmetic.
This article provides some examples in an attempt to give a general flavour of the language; for a complete list of commands and syntax, one should consult the man page for one’s specific implementation.
To multiply four and five in dc (note that most of the whitespace is optional):
This translates into “push four and five onto the stack, then, with the multiplication operator, pop two elements from the stack, multiply them and push the result back on the stack.”…

Pick the First Letter of Your City
DC

DC

You are just few clicks away from starting your lessons.
With years in business, we are the premiere school for all ages and abilities. We offer lessons all over the country through over 5,000 instructors.

Find our experienced instructors in your city. We serve in following cities:





Danielson DC

———

More DC cities

Search by ZIP Code (recommended)

Local Bartending School in DC

Click the link above to learn more

Pentagon DC Bartending School

Pentagon DC Bartending School

Local Bartending School in Pentagon DC Bartending School

Click the link above to learn more

Washington DC Bartending School

Washington DC Bartending School

Local Bartending School in Washington DC Bartending School

Click the link above to learn more

GET STARTED