CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Dc (computer program)

cross-platform reverse-Polish calculator program

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionJul 27, 2026
Entity authorityQ344670
Source-derived summary

dc (desk calculator) is a cross-platform reverse-Polish calculator which supports arbitrary-precision arithmetic. It was written by Lorinda Cherry and Robert Morris at Bell Labs. dc is one of the oldest Unix utilities, preceding even the development of the C programming language. Like other utilities of that vintage, it has a powerful set of features but terse syntax.

Although the bc calculator program (which uses infix notation) was traditionally implemented on top of dc, the modern GNU implementation of dc bases off of bc.

History

dc is the oldest surviving Unix language program. When Bell Labs, where dc was developed, received a PDP-11, dc—written in B—was the first program to run on the new computer, even before an assembler. Ken Thompson has opined that dc was the very first program written on the machine.

Basic operations

To multiply four and five in dc (note that most of the whitespace is optional):

The results are also available from the commands:

or

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 onto the stack." Then the p command is used to examine (print out to the screen) the top element on the stack. The q command quits the invoked instance of dc.

Editorial summary

This brief starts where responsible research should: with the source description of “Dc (computer program)” as cross-platform reverse-Polish calculator program. Everything that follows is an evidence route, not borrowed authority.

Editorial reviewA practical starting point whose main value is the path it opens into stronger specialist and primary sources. The current 217-word lead offers orientation but no explicit four-digit date, so chronology should not be assumed. The selected authority fields contribute no independent date. The account is most persuasive where computer, program and cross-platform can be independently traced.
Editorial analysis

Why this record matters

The subject matters to the general reference register because the source frames it as cross-platform reverse-Polish calculator program. Its deeper value depends on whether names, dates, institutions and citations support that framing.

Evidence profile

Vocabulary and entity names are the principal evidence signals here, because they determine the precision of every later search. The source revision retrieved here is dated Jul 27, 2026. The linked authority identifier is Q344670. None of the 0 selected statements returned an explicit reference.

Critical limits

The absence of detail may reflect summary conventions rather than a lack of surviving documentation. The source lead contains qualifying language; that uncertainty should survive quotation, summary and reuse. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Dc (computer program)”, its source revision and the description used here.
  2. Expand the search: follow Dc (computer program) primary sources, Dc (computer program) archive and computer research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Dc (computer program)”?
  2. What terminology or title could unlock a more precise catalogue search?
  3. Which cited source is closest to the event, object or claim?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Dc (computer program)” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.