From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12092 invoked from network); 29 Nov 1997 11:52:11 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 Nov 1997 11:52:11 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id GAA23838; Sat, 29 Nov 1997 06:45:13 -0500 (EST) Resent-Date: Sat, 29 Nov 1997 06:44:49 -0500 (EST) From: Christopher Croughton Message-Id: <97Nov29.134610gmt+0100.17026@internet01.amc.de> Subject: Re: strange arithmetic To: mito@aparima.com Date: Sat, 29 Nov 1997 12:44:43 +0100 Cc: zsh-users@math.gatech.edu In-Reply-To: <19971128140924.07137@retriever> from "Louis-David Mitterrand" at Nov 28, 97 08:09:24 pm X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"K4Fkq3.0.rp5.n00Wq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1164 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Louis-David Mitterrand wrote: > > (using 3.0.5) > > % i=0;while [[ $[++i] < 900 ]];do;echo $i;done > % 1 > % 2 > [...] > % 90 > > 90 ?? I asked for 900 and it stops at 90. On the other hand the > following: It happens here with 3.1.2 as well. I can't see any logical reason... Chris C