delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/26/15:34:09

X-Spam-Check-By: sourceware.org
Message-ID: <54421.64.81.167.122.1185478396.squirrel@webmail.efn.org>
In-Reply-To: <20070726121907.GG19692@calimero.vinschen.de>
References: <B762313E2F744EE8A72B2113F081D0D3 AT desktop2> <20070726121907 DOT GG19692 AT calimero DOT vinschen DOT de>
Date: Thu, 26 Jul 2007 12:33:16 -0700 (PDT)
Subject: Re: Cygwin Perl and -Duselongdouble
From: "Yitzchak Scott-Thoennes" <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.5.1
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, July 26, 2007 5:19 am, Corinna Vinschen wrote:
> On Jul 26 22:09, Sisyphus wrote:

>> I'd like to have a perl on Cygwin built with -Duselongdouble, so I tried

>> *** You requested the use of long doubles but you do not seem to have
>> *** the following mathematical functions needed for long double support:
>>  ***     sqrtl modfl frexpl
>
> Long double functions are not supported by newlib so far.  There are a
> couple of C99 functions not available in newlib.  Volunteers implementing
> these functions in a license compatible way (BSD, not GPL) in newlib are
> always welcome.

Note that changing perl to use long doubles is a binary incompatible change.
So if anyone is going to jump on this, it would be nice to have it happen
before the already incompatible 5.10 is out Septemberish.

modfl isn't strictly necessary; perl will substitute aintl (a solaris
flavor of truncl) + copysignl.
And ilogbl + scalbnl can be used to emulate frexpl.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019