From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9495 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] math: fix expf(-NAN) to return -NAN instead of 0 Date: Sat, 5 Mar 2016 19:59:00 -0500 Message-ID: <20160306005900.GP9349@brightrain.aerifal.cx> References: <20160304213753.GM29662@port70.net> <20160304220632.GO29662@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1457225963 10730 80.91.229.3 (6 Mar 2016 00:59:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2016 00:59:23 +0000 (UTC) Cc: Petr Hosek To: musl@lists.openwall.com Original-X-From: musl-return-9508-gllmg-musl=m.gmane.org@lists.openwall.com Sun Mar 06 01:59:18 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1acN2T-0007ly-M6 for gllmg-musl@m.gmane.org; Sun, 06 Mar 2016 01:59:17 +0100 Original-Received: (qmail 7233 invoked by uid 550); 6 Mar 2016 00:59:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7215 invoked from network); 6 Mar 2016 00:59:15 -0000 Content-Disposition: inline In-Reply-To: <20160304220632.GO29662@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:9495 Archived-At: On Fri, Mar 04, 2016 at 11:06:32PM +0100, Szabolcs Nagy wrote: > attached a better version with exp2f fix too. > as far as i can tell other functions handle -nan correctly, > but i will have to do some -nan testing. FYI I committed this. Rich