Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: arithmetic operator precedence
- X-seq: zsh-workers 25215
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxx>
- Subject: Re: arithmetic operator precedence
- Date: Thu, 19 Jun 2008 14:29:03 +0200
- Cc: zsh-workers@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tbtONmsuX8tF8vXsBfwD+IdzUNUX9dJyHJzbZGxaIi4=; b=rebH4fafcTeXl4NwHPF84MkjHSTRp4dYIX+/BvyQGLi4fOeY999REitOaSFtTITffA UzmKnuwWCrRc0ZfhRwLNl/RGW80t/y7BLVyr5153eTKkjBvZdm3wSOWde5HPHGJcuftm fevzh0F5YcNBA7RmgpCnpd7JBNwfTT/P2V3Xc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=R8lHTNip+p/iyK82SEGWj028P8lj1P3K9JWz9tAEOVR9voqadHkfkbEE1BcPCY0ZyX sXmnIffAp0FJQj7qTjKILslu3rjJV5KYaXflocSOrPtsav/qiiuiZIETrLPM7c7fR8JG jGWo0mDHNpXr8juFCnRtw1apZdv04FTnjb8so=
- In-reply-to: <200806190958.m5J9w7BJ006695@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080612095723.GF5113@xxxxxxxxxxxxxxx> <2d460de70806170219k12ff4cadn441b52c48bf8076f@xxxxxxxxxxxxxx> <20080617094509.GC5016@xxxxxxxxxxxxxxx> <2d460de70806170324o5a44609x9383cc2445d67dd6@xxxxxxxxxxxxxx> <20080617103829.GD5016@xxxxxxxxxxxxxxx> <20080617114340.398c731f@news01> <20080617112815.GF10734@xxxxxxxxxxxxxxxxxxx> <200806171146.m5HBkhfR013230@xxxxxxxxxxxxxx> <a0600102dc47fd2c6184e@xxxxxxxxxxxxxxxxx> <200806190958.m5J9w7BJ006695@xxxxxxxxxxxxxx>
On Thu, Jun 19, 2008 at 11:58, Peter Stephenson <pws@xxxxxxx> wrote:
> That seems a good idea in any case.
Can you add that this is done to remain both backwards and shell-
compatible and that this is not what a 'real' language/calculator
will do? Perhaps even include a reference to the POSIX argument.
Personally, I still think it is better to be compatbile to accepted
math syntax than to the older/other implementations, but.. :)
Richard
Messages sorted by:
Reverse Date,
Date,
Thread,
Author