summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2017-10-09 06:59:07 +0000
committerotto <otto@openbsd.org>2017-10-09 06:59:07 +0000
commit5d974d9ed87b1a1025a37cb231c1b19f5c4bc6ef (patch)
treed6612df5bff983e5f9aacd4c08fbbb994249b289
parentTurns out that the previous commit resolves the problem on Clang but at (diff)
downloadwireguard-openbsd-5d974d9ed87b1a1025a37cb231c1b19f5c4bc6ef.tar.xz
wireguard-openbsd-5d974d9ed87b1a1025a37cb231c1b19f5c4bc6ef.zip
Jan Stary convinced me 4 * a(1) is a better example
-rw-r--r--usr.bin/bc/bc.16
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.