From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5172 Path: news.gmane.org!not-for-mail From: "writeonce@midipix.org" Newsgroups: gmane.linux.lib.musl.general Subject: Re: checks involving LDBL_MANT_DIG Date: Tue, 27 May 2014 18:37:19 +0300 Message-ID: <5384B12F.5010909@midipix.org> References: <20140527072319.dc30d64f61e5ec441c34ffd4f788e58e.9744136ef9.wbe@email22.secureserver.net> <20140527150038.GM12324@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1401205070 9520 80.91.229.3 (27 May 2014 15:37:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2014 15:37:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5177-gllmg-musl=m.gmane.org@lists.openwall.com Tue May 27 17:37:43 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 1WpJRX-0001M5-2F for gllmg-musl@plane.gmane.org; Tue, 27 May 2014 17:37:35 +0200 Original-Received: (qmail 9988 invoked by uid 550); 27 May 2014 15:37:34 -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 9980 invoked from network); 27 May 2014 15:37:33 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <20140527150038.GM12324@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:5172 Archived-At: On 05/27/2014 06:00 PM, Szabolcs Nagy wrote: > * writeonce@midipix.org [2014-05-27 07:23:20 -0700]: >> In src/complex/*, several files check for LDBL_MANT_DIG == 53 && >> LDBL_MAX_EXP == 1024, however according to src/stdio/vfprintf.c, >> (LDBL_MANT_DIG == 53) is considered incorrect and would cause a >> compile-time error. Does this mean that the above checks in >> src/complex/* may be eliminated? > there is nothing wrong with LDBL_MANT_DIG == 53 > > vfprintf only checks if long double really has appropriate size in that case > > Thanks, that explains everything... wrong experiment on my part. zg