From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4871 Path: news.gmane.org!not-for-mail From: Morten Welinder Newsgroups: gmane.linux.lib.musl.general Subject: Re: Preparing for releases 1.1.0 and 1.0.1 Date: Fri, 11 Apr 2014 11:17:00 -0400 Message-ID: References: <20140410024045.GA6538@brightrain.aerifal.cx> <20140410131122.GR3034@port70.net> <20140411013911.GQ26358@brightrain.aerifal.cx> <20140411094616.GU3034@port70.net> <20140411130747.GR26358@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1397229442 21120 80.91.229.3 (11 Apr 2014 15:17:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2014 15:17:22 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4875-gllmg-musl=m.gmane.org@lists.openwall.com Fri Apr 11 17:17:14 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WYdCc-00088n-1F for gllmg-musl@plane.gmane.org; Fri, 11 Apr 2014 17:17:14 +0200 Original-Received: (qmail 32094 invoked by uid 550); 11 Apr 2014 15:17:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 32081 invoked from network); 11 Apr 2014 15:17:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oSGpzoxnZ2W2ZnDA2OKB2KC2aIKvTmNn188AZQtzkPs=; b=LPAYT2w5CH+AbxuoxNYEI+L2qPFBPfePys+pxGkfyk8oENlReotI8fy6J1S/2fPONy oKqX85va7h0l745BuJIB82PkGDHBFY6gE8LX/BSSugLJOUHREyL9RakQDa9Xfb3LhXb7 NA2nauMCVjvdymSP/ZSUK5JMdaR+/zrIVXFh/q1fNpDEyRcbxQYcZiXGVWGt80dnlQyg f40mFwiHa+pOCsYcsCMZBqAf4Z7zASvVGp6HjmRpUGvDyKbhlSDfpFki7kDVZ3bsx+oV Rw/DP2EM08kw47soTDqNNFP4lTm8Kwqmjm8Mp5a53+WdnUO60qws0ACatW0cGpcmqzN9 1tdA== X-Received: by 10.180.211.207 with SMTP id ne15mr3947310wic.31.1397229420284; Fri, 11 Apr 2014 08:17:00 -0700 (PDT) In-Reply-To: <20140411130747.GR26358@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4871 Archived-At: > Yes but this leads to serious breakage if the compiler does not handle > the request to drop precision in a conforming way, and it still > doesn't help the fact that strtod depends on long double semantics. Are you sure? If the incoming number has at most 53 bits then there will be at most 24 bits left after the 2^(1+28) reduction. The scalings by 10^9 = 2^9 * 5^9 require at most log2(5^9) ~ 21 extra bits. That ought to fit in valgrind's double. Morten