From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29180 invoked from network); 26 Nov 2002 11:40:31 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Nov 2002 11:40:31 -0000 Received: (qmail 2221 invoked by alias); 26 Nov 2002 11:40:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17965 Received: (qmail 2198 invoked from network); 26 Nov 2002 11:40:23 -0000 Date: Tue, 26 Nov 2002 06:40:16 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: zsh/mathfunc and scalb Message-ID: <20021126114016.GA27529@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) IEEE 1003.1-2001 claims that scalb is deprecated and that the prototype is double scalb(double, double). glibc 2.3 uses the same prototype, but only if you define _XOPEN_SOURCE_EXTENDED, _BSD_SOURCE, or _SVID_SOURCE. zsh passes an int as the second argument, and of course it links fine. Should this be changed to scalbln or scalbn? Should the $(( )) name be changed as well?