zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Those patches Re: $[ 09.5 ]  -- bad math expression
Date: Tue, 04 Dec 2012 07:52:26 -0800	[thread overview]
Message-ID: <121204075226.ZM22028@torch.brasslantern.com> (raw)
In-Reply-To: <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 ?


       reply	other threads:[~2012-12-04 15:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alpine.DEB.2.00.1212022323450.27859@oreo.lan>
     [not found] ` <20121202210516.66e31219@pws-pc.ntlworld.com>
2012-12-04 15:52   ` Bart Schaefer [this message]
2012-12-04 16:07     ` Peter Stephenson
     [not found] ` <121202135940.ZM19771@torch.brasslantern.com>
2013-11-14 11:30   ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=121204075226.ZM22028@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).