Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Those patches Re: $[ 09.5 ] -- bad math expression
- X-seq: zsh-workers 30828
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Those patches Re: $[ 09.5 ] -- bad math expression
- Date: Tue, 04 Dec 2012 07:52:26 -0800
- In-reply-to: <20121202210516.66e31219@pws-pc.ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <alpine.DEB.2.00.1212022323450.27859@oreo.lan> <20121202210516.66e31219@pws-pc.ntlworld.com>
[>workers]
We have two patches for this. PWS (users/17447) seems to have found
a bug with OCTAL_ZEROES that my patch (17445) won't address, though
I'm not sure what that bug is. My C01arith.ztst patch looks for a
couple of things that Peter's doesn't -- perhaps combine tests? In
any case there's a typo in the description part of Peter's test:
On Dec 2, 9:05pm, Peter Stephenson wrote:
}
} + # 3/4 is a multiple of power of two so assume it's represented exactly.
} + print ${$(( 09.75 * 4))%%.*}
} +0:leading underscores
} +>39
(Not "underscores")
Curiosity question: Since this is just a parsing exercise, what's the
reason for the * 4 ?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author