Unix-commands-dc

提供:Dev Guides
移動先:案内検索

dc-Unix、Linuxコマンド

NAME

*dc* -卓上計算機

概要

dc

説明

卓上計算機は、後置記法で機能します。むしろ、多くのHP計算機と同じです。 基本的な算術演算では、標準の+-/*記号が使用されますが、数字の後に入力されます。

オプション

Tag Description
-e EXPR—​expression=EXPR Evaluate EXPR as DC commands.
-f FILE—​file=FILE Read and evaluate DC commands from FILE.
-h—​help Print a usage message summarizing the command-line options, then exit.
-V—​version Print the version information for this program, then exit.

$ dc
100
0.5
*
p
50

link:/cgi-bin/printpage.cgi [__印刷]