From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/15107 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] math: move i386 sqrtf to C Date: Thu, 9 Jan 2020 18:55:11 +0300 (MSK) Message-ID: References: <20200106174346.6489-1-amonakov@ispras.ru> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="239628"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) To: musl@lists.openwall.com Original-X-From: musl-return-15123-gllmg-musl=m.gmane-mx.org@lists.openwall.com Thu Jan 09 16:55:36 2020 Return-path: Envelope-to: gllmg-musl@m.gmane-mx.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ipa9g-000rDc-5j for gllmg-musl@m.gmane-mx.org; Thu, 09 Jan 2020 16:55:28 +0100 Original-Received: (qmail 26615 invoked by uid 550); 9 Jan 2020 15:55:22 -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 26597 invoked from network); 9 Jan 2020 15:55:22 -0000 In-Reply-To: <20200106174346.6489-1-amonakov@ispras.ru> Xref: news.gmane.org gmane.linux.lib.musl.general:15107 Archived-At: I should have asked earlier, but - is everyone happy with this style of expressing removal of excess precision, or should I use eval_as_float? +{ + long double t; [...] + return (float)t; +} Alexander