From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15670 invoked by alias); 18 May 2015 09:41:49 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35182 Received: (qmail 10150 invoked from network); 18 May 2015 09:41:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WgmqdfuCOlsJLfig5tQMZcVBgPHk0ynyiQEsxHGpJCQ=; b=0srr/KUy/aqg7DJaLwHiS2CZ8X5TupVwChA+V44fPh0rmZXkbSkjUTYbcZhDe30qgy Ip4mCmfYD8hMTOZCElaHwyN9UbMqAD1Y6jJO/JVA55pIRBr0pqhJ7CFuRH4akGbu6SXB cZC9FTjP/76VsJA+8GdMDOctaX2q6ocB0AYZNmtzTdpZ0INXIpK+rQ5hsjHQ91kVoQ7O 4+OFeoptFZKwKUW3siT6rmN5/hzG4JsQoAscmg4zt74CVRASPCjifPwvGtIdgR/k0qSI iAA3aucc1u/ouB2C7WlVC5Kt4WNDRN7VwNC/7pb5kYPTvH5038NvHmk3skElSoZx+QuC rzTw== MIME-Version: 1.0 X-Received: by 10.43.151.83 with SMTP id kr19mr33779908icc.3.1431942104180; Mon, 18 May 2015 02:41:44 -0700 (PDT) In-Reply-To: <20150518083917.GB25036@ypig.lip.ens-lyon.fr> References: <87oalodmns.fsf@debian.uxu> <150513195617.ZM29493@torch.brasslantern.com> <87d223et0a.fsf@debian.uxu> <150513210405.ZM29616@torch.brasslantern.com> <87oalncyjw.fsf@debian.uxu> <150514105426.ZM30800@torch.brasslantern.com> <20150518083917.GB25036@ypig.lip.ens-lyon.fr> Date: Mon, 18 May 2015 11:41:44 +0200 Message-ID: Subject: Re: why do ceil/floor give the decimal dot? From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 On Mon, May 18, 2015 at 10:39 AM, Vincent Lefevre wrote: > BTW, there is a bug in zsh 5.0.7: > > ypig% typeset -F 3 x=$((17)) > ypig% print $x > 17.000 > ypig% typeset -F 2 x=$((17)) > ypig% print $x > 17.00 > ypig% typeset -F 1 x=$((17)) > typeset: invalid base (must be 2 to 36 inclusive): 1 > > It is not a base here. Fortunately I fixed that bug a few weeks ago. -- Mikael Magnusson