From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13684 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Damian McGuckin Newsgroups: gmane.linux.lib.musl.general Subject: Re: Possible Mistype in exp.c Date: Tue, 29 Jan 2019 22:26:23 +1100 (AEDT) Message-ID: References: <20190129110135.GC21289@port70.net> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="8290"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) To: musl@lists.openwall.com Original-X-From: musl-return-13700-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 29 12:26:43 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1goRXO-00021Q-Rs for gllmg-musl@m.gmane.org; Tue, 29 Jan 2019 12:26:43 +0100 Original-Received: (qmail 12150 invoked by uid 550); 29 Jan 2019 11:26:39 -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 12124 invoked from network); 29 Jan 2019 11:26:38 -0000 X-Authentication-Warning: key0.esi.com.au: damianm owned process doing -bs In-Reply-To: <20190129110135.GC21289@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:13684 Archived-At: On Tue, 29 Jan 2019, Szabolcs Nagy wrote: > it's not the division that's supposed to raise the exception, > but the cast (although the division might in case of an x with > sufficiently large magnitude). I did not think about that. An interesting approach. > in any case i plan to completely rewrite exp and other > important math functions: > > https://www.openwall.com/lists/musl/2018/12/08/1 Thanks for the pointer. > that implementation is >2x faster in general than the old fdlibm code as > well as more precise. It is hard to argue to 2x faster. Mind you, I certainly found the ARM code much harder to read. Interesting none the less. Regards - Damian Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine and not those of any past or present employer