From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12183 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: remquo - underlying logic Date: Thu, 30 Nov 2017 19:59:57 +0100 Message-ID: <20171130185956.GS15263@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1512068412 15888 195.159.176.226 (30 Nov 2017 19:00:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2017 19:00:12 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-12199-gllmg-musl=m.gmane.org@lists.openwall.com Thu Nov 30 20:00:08 2017 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.84_2) (envelope-from ) id 1eKU44-0003dJ-15 for gllmg-musl@m.gmane.org; Thu, 30 Nov 2017 20:00:04 +0100 Original-Received: (qmail 13591 invoked by uid 550); 30 Nov 2017 19:00:09 -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 13570 invoked from network); 30 Nov 2017 19:00:08 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:12183 Archived-At: * Damian McGuckin [2017-12-01 05:11:40 +1100]: > Is there anywhere this is described in detail. > > As part of some research, I was studying an implementation > > https://opensource.apple.com/source/Libm/Libm-315/Source/ARM/remquo.c > > which uses ideas which avoids the fixed point arithmetic. > > While there are some issues with this implementation, some of its ideas may > produce cleaner and likely shorter code than the current remquo. > maybe not so much with double but for anything else high, yes. > > Has anybody tried this before? i think it does similar things than the current implementation but uses float arithmetics instead of ints. i hadn't considered using floats, it may be faster i don't know, you have to benchmark etc. i can add this to my math todo items, but i can't promise to look into it soon unless there is a good reason to.