1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Jan Stary convinced me 4 * a(1) is a better example

This commit is contained in:
otto 2017-10-09 06:59:07 +00:00
parent a6469ce8dd
commit 5d974d9ed8

View File

@ -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.