Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: print and floating point output
- X-seq: zsh-workers 19917
- From: Matthias Kopfermann <matthi@xxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: print and floating point output
- Date: Tue, 11 May 2004 16:13:59 +0200
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <7010.1084281519@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040511130857.GA24416@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <7010.1084281519@xxxxxxx>
On Tue, May 11, 2004 at 02:18:39PM +0100, Peter Stephenson:
> Matthias Kopfermann wrote:
> > > If you are doing serious floating point work, unfortunately you need to
> > > understand something about rounding errors, which are a tricky and
> > > ever-present feature.
> >
> > I learned that here.
>
> Good lesson! The principle of least surprise is best satisfied by not
> trusting rounding errors.
it only _depends_ on what the user is expecting.
And _I_ just expected the output of zcalc, python, ruby, perl
and bc when using print with this example. :)
And it's only _default_ we are talking about.
So I am not convinced now but I of course respect this
decision.
Matthias
Messages sorted by:
Reverse Date,
Date,
Thread,
Author