From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26038 invoked from network); 23 Sep 2001 17:16:31 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Sep 2001 17:16:31 -0000 Received: (qmail 6190 invoked by alias); 23 Sep 2001 17:16:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15857 Received: (qmail 6177 invoked from network); 23 Sep 2001 17:16:24 -0000 Date: Sun, 23 Sep 2001 18:16:23 +0100 To: Clint Adams Cc: zsh-workers@sunsite.dk Subject: Re: forcing output type Message-ID: <20010923181623.B15106@fysh.org> References: <20010923114054.A16301@dman.com> <20010923164705.A15106@fysh.org> <20010923121852.B16711@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010923121852.B16711@dman.com> User-Agent: Mutt/1.3.20i From: Zefram Clint Adams wrote: >Would anyone object to something like $(( [#.] 2/3 )) to >avoid integer truncation? It's not a very clean way to do it -- it's changing the input language for an expression, and doesn't inherently apply to the entire $(()) (unlike the existing "[#n]" output-base flag). It would be better to localise it; say, "floatops{2/3}" as a subexpression. But I wonder why you want to do this at all. What application do you have in mind? -zefram