From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23100 invoked by alias); 9 Apr 2011 17:41:42 -0000 Received: (qmail 23071 invoked by uid 22791); 9 Apr 2011 17:41:39 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_CG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 09 Apr 2011 17:41:33 +0000 Received: by wwi36 with SMTP id 36so4709165wwi.2 for ; Sat, 09 Apr 2011 10:41:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.46.135 with SMTP id r7mr1010906web.21.1302370892100; Sat, 09 Apr 2011 10:41:32 -0700 (PDT) Received: by 10.216.238.205 with HTTP; Sat, 9 Apr 2011 10:41:32 -0700 (PDT) In-Reply-To: <20110409160524.GA29135@ednor.casa.cgf.cx> References: <20110409160524.GA29135@ednor.casa.cgf.cx> Date: Sat, 09 Apr 2011 22:04:00 -0000 Message-ID: Subject: Re: newlib and long-double question From: marco atzeri To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-04/txt/msg00130.txt.bz2 On Sat, Apr 9, 2011 at 6:05 PM, Christopher Faylor wrote: > On Sat, Apr 09, 2011 at 08:20:13AM -0700, Necro Cow wrote: >>Hello. >> >>I have recently discovered that the cygwin version I am using (1.7.7) >>doesn't support many long-double function, like sqrtl, modfl, frexpl, >>etc. >> >>I have been reading on newlib's website, sourceware.org/newlib, that >>as of version 1.18.0, such long-double functions are now supported. >>(http://sourceware.org/ml/newlib/2009/msg01135.html) further the newlib announce says: * long double math routines added for platforms where LDBL =3D=3D DBL so in reality you gain no additional performance on the double. >> >>What I can't seem to find out is, what version of newlib is in the >>newest release of cygwin, and if it has this better support for >>long-double functions. > > Cygwin uses whatever is in the newlib tree as of its release date. =A0That > means that since Cygwin 1.7.7-1 was released in August 2010* it would > incorporate any newlib changes from 2009. =A0That doesn't mean that we wo= uld > export every single thing that newlib provides, however. =A0If functional= ity > is missing that means that no one has taken the time to get it working in > the Cygwin DLL. > > cgf > > *http://sourceware.org/ml/cygwin-announce/2010-08/msg00035.html > on 1.7.8 most of the missing "double" function were added http://sourceware.org/ml/cygwin-announce/2011-03/msg00000.html I thought to implement also the long double but as doubles are 64 bit and long doubles are just 80 bits on windows, I found the effort not worth. Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple