summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-09-22 19:08:28 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-09-22 19:08:28 +0000
commit92c9e78bb73ac0217d6b28443abe0654fda40a16 (patch)
tree0daceb0afbe6ddfed3578a9b7ce718acc33c0f22
parent002d4a78bac8599bbb5ab9cd9db8ac2b2d3bd57e (diff)
Kill warnings. Add a note saying the current paper describes the
historical implementation, not the current one. At some point in time, I'll try to describe the current implementation. ok jmc@
-rw-r--r--usr.bin/dc/USD.doc/dc15
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.bin/dc/USD.doc/dc b/usr.bin/dc/USD.doc/dc
index 471516dc634..ff5288fb0e8 100644
--- a/usr.bin/dc/USD.doc/dc
+++ b/usr.bin/dc/USD.doc/dc
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dc,v 1.1 2003/09/19 18:03:13 otto Exp $
+.\" $OpenBSD: dc,v 1.2 2003/09/22 19:08:27 otto Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
@@ -37,7 +37,7 @@
.EH 'USD:5-%''DC \- An Interactive Desk Calculator'
.OH 'DC \- An Interactive Desk Calculator''USD:5-%'
.\".RP
-....TM 75-1271-8 39199 39199-11
+.\" ....TM 75-1271-8 39199 39199-11
.ND
.TL
DC \- An Interactive Desk Calculator
@@ -46,7 +46,7 @@ Robert Morris
.AU
Lorinda Cherry
.AI
-.MH
+.\" .MH
.AB
DC is an interactive desk calculator program implemented
on the
@@ -67,6 +67,12 @@ systems to several thousand on the largest.
.PP
.SH
.PP
+.ft I
+Editor's note: the description of the implementation details of DC in this
+paper is only valid for the original version of DC.
+The current version of DC uses a different approach.
+.ft
+.PP
DC is an arbitrary precision arithmetic package implemented
on the
.UX
@@ -113,7 +119,7 @@ The value of the number is pushed onto the main stack.
A number is an unbroken string of the digits 0-9
and the capital letters A\-F which are treated as digits
with values 10\-15 respectively.
-The number may be preceded by an underscore \*_ to input a
+The number may be preceded by an underscore _ to input a
negative number.
Numbers may contain decimal points.
.SH
@@ -179,7 +185,6 @@ is treated as a stack and its top value is popped onto the main stack.
All registers start with empty value which is treated as a zero
by the command \fBl\fP and is treated as an error by the command \fBL\fP.
.SH
-.SH
d
.IP
The