summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2018-05-24 15:42:43 +0100
committeraiju <devnull@localhost>2018-05-24 15:42:43 +0100
commit434fc6a1c4911922014b7fb8f5e9de278424fa97 (patch)
tree4585e839115df70829a6e8f3dccd7e71d79883ca
parent1984f6813cc216e3c98e402ce3f381a531faf1b1 (diff)
downloadplan9front-434fc6a1c4911922014b7fb8f5e9de278424fa97.tar.xz
dc(1): add pi program as example
-rw-r--r--sys/man/1/dc8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/man/1/dc b/sys/man/1/dc
index f6ff38db9..cf2ce7583 100644
--- a/sys/man/1/dc
+++ b/sys/man/1/dc
@@ -231,6 +231,14 @@ Print the first ten values of
0sa1
lyx
.EE
+.LP
+Print π.
+.IP
+.EX
+1sq180sr60st2si[3li*1+d1+*3*suli27*12-lq*5lr*+lt
+5*/d48+Psy10lqlid2*1-***10lulqli5*2-*lr+lylt*-**
+srsqlult*stli1+silmx]smlmx
+.EE
.SH SOURCE
.B /sys/src/cmd/dc.c
.SH "SEE ALSO"