diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2017-10-09 06:59:08 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2017-10-09 06:59:08 +0000 |
commit | 18a89c2381b76c744383b7a42147c2bcb9dfcc60 (patch) | |
tree | f34b5db90f5d1b8cee361f78403812ee69985eee /usr.bin/bc | |
parent | 17e6e178470c4efb988845758b3f58f2dd089d6c (diff) |
Jan Stary convinced me 4 * a(1) is a better example
Diffstat (limited to 'usr.bin/bc')
-rw-r--r-- | usr.bin/bc/bc.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/bc/bc.1 b/usr.bin/bc/bc.1 index 05e03ca3265..536fe015557 100644 --- a/usr.bin/bc/bc.1 +++ b/usr.bin/bc/bc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bc.1,v 1.33 2017/10/08 15:14:52 jmc Exp $ +.\" $OpenBSD: bc.1,v 1.34 2017/10/09 06:59:07 otto Exp $ .\" .\" Copyright (C) Caldera International Inc. 2001-2002. .\" All rights reserved. @@ -34,7 +34,7 @@ .\" .\" @(#)bc.1 6.8 (Berkeley) 8/8/91 .\" -.Dd $Mdocdate: October 8 2017 $ +.Dd $Mdocdate: October 9 2017 $ .Dt BC 1 .Os .Sh NAME @@ -332,7 +332,7 @@ the exponential function and prints approximate values of the exponential function of the first ten integers. .Bd -literal -offset indent -$ bc -l -e 'scale = 500; 2 * a(2^10000)' -e quit +$ bc -l -e 'scale = 500; 4 * a(1)' -e quit .Ed .Pp prints an approximation of pi. |