dc (computer program)
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. It is one of the oldest Unix utilities, preceding even the invention of the C programming language. Like other utilities of that vintage, it has a powerful set of features but terse syntax. Traditionally, the bc calculator program (with infix notation) was implemented on top of dc.
Original author(s) | Lorinda Cherry, Robert Morris (AT&T Bell Laboratories) |
---|---|
Developer(s) | Various open-source and commercial developers |
Written in | B |
Operating system | Unix, Unix-like, Plan 9 |
Platform | Cross-platform |
Type | Command |
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.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.