From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5171 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: checks involving LDBL_MANT_DIG Date: Tue, 27 May 2014 17:00:39 +0200 Message-ID: <20140527150038.GM12324@port70.net> References: <20140527072319.dc30d64f61e5ec441c34ffd4f788e58e.9744136ef9.wbe@email22.secureserver.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1401202871 12329 80.91.229.3 (27 May 2014 15:01:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2014 15:01:11 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5176-gllmg-musl=m.gmane.org@lists.openwall.com Tue May 27 17:01:05 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 1WpIrz-0000mp-KP for gllmg-musl@plane.gmane.org; Tue, 27 May 2014 17:00:51 +0200 Original-Received: (qmail 24393 invoked by uid 550); 27 May 2014 15:00:51 -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 24385 invoked from network); 27 May 2014 15:00:50 -0000 Content-Disposition: inline In-Reply-To: <20140527072319.dc30d64f61e5ec441c34ffd4f788e58e.9744136ef9.wbe@email22.secureserver.net> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:5171 Archived-At: * 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